Omgili - forum search, search forums  
  

Discussions about java ant task

Displaying 1 - 10 out of 1,175 discussions.  
RSS Feed Options
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
Ant Java task provides fork parameter, which, by definition "if enabled triggers the class execution in another VM" . As we are dealing with a large amount of data, setting this parameter saved us from running out of Java heap space. We want to be able...
Started by on , 4 posts by 4 people.  
Http://java.sun.com/javase/6/docs/api/java....
By using ProcessBuilder class, for example.
The JavadocExecute another java process.
I think you can directly use the Ant API...Ant can be directly used in a Java class.
I put "stax-utils.jar" in the extensions directory ([JAVA_HOME]/jre/lib/ext), but ant's java task can't find it, giving: java.lang.NoClassDefFoundError: javanet/staxutils/IndentingXMLStreamWriter Strangely, it works for compilation: ant's javac task can...
Started by on , 3 posts by 3 people.  
Try adding it to ANT_HOME/lib Are you certain that you use the JVM corresponding to your JAVA_HOME?.
I have an Ant task to call a java process that takes a file on the command line. I can pass the file directly to the java program but I can't figure out how to make Ant take the file on the command line. Here's what I've got: <target name="FileProcessor...
Started by on , 4 posts by 4 people.  
Java task More info="FileProcessor" description....
I've never seen the <run-standalone> task, but you can just use <java> to launch a Java; Of course, make sure that the value in the property ${file} actually exists first.
Ask your Facebook Friends
I'd like to use the Rhino JavaScript compiler to compile some JavaScript to .class bytecode files for use in a project. It seems like this should already exist, since there are groovyc, netrexxc, and jythonc tasks for Groovy, NetREXX(!) and Jython, respectively...
Started by on , 3 posts by 3 people.  
If you have lots of javascript files you just need to keep adding more tags ~:ant compile jar run <project> <target name="compile....
Why not simply use java task? <java fork="yes" classpathref="build.path" classname.
Hello, I am trying to compile and run a simple java class within eclipse. The compile task works fine, and since I do not specify a destination folder the build files are in the same directory as the source. Which is alright, at the moment all I need ...
Started by on , 4 posts by 4 people.  
<java classpath="${bin}" classnameThe classpath is where the Java runtime looks for your .class files, similar to how your OS uses;java fork="true" classname....
You should include classpath, e.g.
A Java program with ant.
OK, I'm stumped. I have a Java tree that looks like a fairly typical Eclipse Java build: myproject src com example test // Java files in com.example.test here bin com example test // Compiled class files will go here Now I have a MyClass.properties file...
Started by on , 3 posts by 3 people.  
From the Ant manual about the task: Copies a file or resource collection to a new file or directory.
My project generates source code using the Rats! parser generator . Rats! doesn't have a Maven plugin that I'm aware of, so I'm trying to build the parser using an Ant Java task, like so: <plugin> <artifactId>maven-antrun-plugin</artifactId...
Started by on , 3 posts by 3 people.  
I would have thought that Ant would wrap this (the java task is copied over;/arguments> </configuration> </plugin> or, just add fork="true" to the java task; <sources> <....
Terminating the JVM.
Any idea, why none of the debugging comments are printed once after executing the ANT build script's SQL task via java code? The java class to execute the sql in build scirpt is public class AntRunnerTest { private Project project; public void executeTask...
Started by on , 3 posts by 3 people.  
What is the exception and is select now() valid for your DBMS? The problem will be solved if you add the output attribute of tag. .
My command line app call looks like this: java -jar myapp.jar --output c:\test.txt c:\test.txt Which reads test.txt, processes it and saves result to the same file. I am trying to make ant task out of it but can't figure out how to make it use same path...
Started by on , 3 posts by 3 people.  
First is not going to work for multiple arguments ... .
You can run ant in verbose mode (using "-v" switch) to see the actual command lines this taskIf the file exixts I recommend deleting the file first using ant Then create the NEW file.
I have a buildr script that first loads a java properties file, then creates an ant task. I'm getting an abort error: Buildr aborted! org/apache/tools/ant/DefaultLogger when running buildr. Here's the (simplified) buildfile: CONFIG = Hash.from_java_properties...
Started by on , 3 posts by 3 people.  
(*) RJB = Ruby-Java Bridge.
Mailing list, you need to add Java.load before your call to Hash.from_java_properties so RJB using Java objects during the loading phase, you need to tell Buildr explicitly.
Page: 1   2   3   4   5   6   7   8   9   10  
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost