Ah good point... Sorta had forgotten the fork attribute ;) I seldom, if
ever use this :)
On Fri, 16 Jan 2009, Blaine Simpson wrote:
java and javac will fork or not as described in the Manual for those
tasks. As described there, they will not fork unless you use the fork
attribute to turn o
java and javac will fork or not as described in the Manual for those
tasks. As described there, they will not fork unless you use the fork
attribute to turn on forking.
Using fork="false" (the default) is more efficient, but makes the
execution tightly bound to your Ant environment, and doesn't al
I didn't think a separate JVM was started for the javac task...
Not sure about invoking it programatically (never done that), but I
wouldn't think so... That would imply using java.lang.Runtime.exec()
On Fri, 16 Jan 2009, robert lazarski wrote:
On Fri, Jan 16, 2009 at 12:11 PM, Scot P. Flo
On Fri, Jan 16, 2009 at 12:11 PM, Scot P. Floess wrote:
>
> I don't think setting the property as you have done is exactly correct... At
> least once the JVM is up and running... I'd definitely set JAVA_HOME in
> your environment first...before running...
>
Invoking ant programatically starts an
I don't think setting the property as you have done is exactly correct...
At least once the JVM is up and running... I'd definitely set JAVA_HOME
in your environment first...before running...
On Fri, 16 Jan 2009, robert lazarski wrote:
On Fri, Jan 9, 2009 at 5:42 PM, Scot P. Floess wrote:
On Fri, Jan 9, 2009 at 5:42 PM, Scot P. Floess wrote:
>
> Uh yeah...
>
> Your JAVA_HOME should point to /usr/local/jdk1.6.0_11
>
Well, I tried this:
System.setProperty("java.home", "/usr/local/jdk1.6.0_11");
Project project = new Project();
...
project.executeTarget(project.getDefaultTarget());
Uh yeah...
Your JAVA_HOME should point to /usr/local/jdk1.6.0_11
On Fri, 9 Jan 2009, robert lazarski wrote:
On Fri, Jan 9, 2009 at 5:12 PM, Scot P. Floess wrote:
If you type javac at the command line, what do you see?
/root> javac
Usage: javac
where possible options include:
Someth
On Fri, Jan 9, 2009 at 5:12 PM, Scot P. Floess wrote:
>
> If you type javac at the command line, what do you see?
>
/root> javac
Usage: javac
where possible options include:
Something screwy is going on, the error:
ERROR: /programs/atadapter/oa/openAdapter/ati.build.xml:47: Unable to
find a
If you type javac at the command line, what do you see?
On Fri, 9 Jan 2009, Lucas Albers wrote:
You need to set your java variables, see if setting these variables solves
your problems..
IF EXIST "C:\apache-ant-1.7.0" set ANT_HOME=C:\apache-ant-1.7.0
IF EX
You need to set your java variables, see if setting these variables solves
your problems..
IF EXIST "C:\apache-ant-1.7.0" set ANT_HOME=C:\apache-ant-1.7.0
IF EXIST "C:\apache-ant-1.7.1" set ANT_HOME=C:\apache-ant-1.7.1
IF EXIST "c:\Program Files\Java\jdk1.6.0
On Fri, Jan 9, 2009 at 3:40 PM, Scot P. Floess wrote:
> What does your javac line look like in your build.xml?
>
Thanks for the reply:
With definitions:
- R
-
To unsubscribe, e-mail: user-uns
What does your javac line look like in your build.xml?
On Fri, 9 Jan 2009, robert lazarski wrote:
Hi all,
I'm running ant 1.7.0 with jdk1.6.0_11 on linux. I have the jdk, and
not the jre. However, I get this error when invoking ant
programatically, via
"project.executeTarget(project.getDefault
12 matches
Mail list logo