Examples of file()


Examples of com.sun.javadoc.SourcePosition.file()

    SourcePosition pos = tag.position();
    if (pos != null) {
      MSourcePosition mpos = target.createSourcePosition();
      mpos.setLine(pos.line());
      mpos.setColumn(pos.column());
      if (pos.file() != null) mpos.setSourceURI(pos.file().toURI());
    }
  }

}
View Full Code Here

Examples of com.sun.mirror.util.SourcePosition.file()

      AntPatternMatcher matcher = new AntPatternMatcher();
      matcher.setPathSeparator(".");
      for (WebFault webFault : allFaults.values()) {
        if (useServerSide(webFault, matcher)) {
          SourcePosition position = webFault.getPosition();
          if (position == null || position.file() == null) {
            throw new IllegalStateException("Unable to find source file for " + webFault.getQualifiedName());
          }
          File sourceFile = position.file();
          getEnunciate().copyFile(sourceFile, getServerSideDestFile(sourceFile, webFault));
        }
View Full Code Here

Examples of io.crate.blob.DigestBlob.file()

        contentTail = new BytesArray("MNO".getBytes());
        digestBlob.addContent(contentTail, true);

        byte[] buffer = new byte[15];
        FileInputStream stream = new FileInputStream(digestBlob.file());
        stream.read(buffer, 0, 15);
        assertEquals("ABCDEFGHIJKLMNO", new BytesArray(buffer).toUtf8().trim());
        File file = digestBlob.commit();
        assertTrue(file.exists());
        file.delete();
View Full Code Here

Examples of javax.jws.HandlerChain.file()

    {
        HandlerChain handlerChain = (HandlerChain) clazz.getAnnotation(HandlerChain.class);
        HandlerChainAnnotation annotation = null;
        if (handlerChain != null)
        {
            annotation = new HandlerChainAnnotation(handlerChain.file(),
                                                    handlerChain.name());
        }
        return annotation;
    }
View Full Code Here

Examples of javax.jws.HandlerChain.file()

        File handlerConfig = new File(address, "Greeter_handler.xml");
        assertTrue(handlerConfig.exists());

        Class clz = classLoader.loadClass("ws.address.Greeter");
        HandlerChain handlerChainAnno = AnnotationUtil.getPrivClassAnnotation(clz, HandlerChain.class);
        assertEquals("Greeter_handler.xml", handlerChainAnno.file());
        assertNotNull("Handler chain xml generate fail!", classLoader
                      .findResource("ws/address/Greeter_handler.xml"));
    }

    public void testSupportXMLBindingBare() throws Exception {
View Full Code Here

Examples of javax.jws.HandlerChain.file()

        File handlerConfig = new File(address, "Greeter_handler.xml");
        assertTrue(handlerConfig.exists());

        Class<?> clz = classLoader.loadClass("ws.address.Greeter");
        HandlerChain handlerChainAnno = AnnotationUtil.getPrivClassAnnotation(clz, HandlerChain.class);
        assertEquals("Greeter_handler.xml", handlerChainAnno.file());
        assertNotNull("Handler chain xml generate fail!", classLoader
            .getResource("ws/address/Greeter_handler.xml"));
    }

    @Test
View Full Code Here

Examples of limelight.io.Templater.file()

    String projectName = fs().filename(projectPath);
    Templater templater = createTemplater(fs().parentPath(projectPath));

    templater.addToken("LLP_NAME", projectName);

    templater.file(fs().join(projectName, "features/step_definitions/limelight_steps.rb"), "features/step_definitions/limelight_steps.rb.template");
    templater.file(fs().join(projectName, "features/support/env.rb"), "features/support/env.rb.template");
    templater.file(fs().join(projectName, "Rakefile"), "project/Rakefile.template");

    createProduction(templater, fs().join(projectName, "production"), projectName, sceneName, testsPath);
  }
View Full Code Here

Examples of loop.Executable.file()

    if (executables == null || executables.isEmpty())
      throw new RuntimeException("Unable to find/compile: " + name + ".loop");

    Executable executable = executables.get(0);
    this.clazz = executable.getCompiled();
    this.loopFile = executable.file();
  }

  @Override
  public Object invoke(Object arg0, Method m, Object[] args) throws Throwable {
    Class<?>[] argsTypes;
View Full Code Here

Examples of net.jcores.script.Blacklist.file()

*
*/
public class SimpleLibrary {
    public static void main(String[] args) {
        final Checklist blacklist = new Blacklist();
        blacklist.file("junit.jar");
        JCoresLibrary.LIBRARY("MyLib").blacklist(blacklist).pack(Debug.DO);
    }
}
View Full Code Here

Examples of net.jcores.script.Checklist.file()

*
*/
public class SimpleLibrary {
    public static void main(String[] args) {
        final Checklist blacklist = new Blacklist();
        blacklist.file("junit.jar");
        JCoresLibrary.LIBRARY("MyLib").blacklist(blacklist).pack(Debug.DO);
    }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.