Home » Language IDEs » Java Development Tools (JDT) » Ant script stalls
| | | | | | |
Re: Ant script stalls [message #149061 is a reply to message #149054] |
Wed, 17 March 2004 19:26 |
Darin Swanson Messages: 2386 Registered: July 2009 |
Senior Member |
|
|
Check out the docs for the javac task:
http://ant.apache.org/manual/CoreTasks/javac.html
Basically you set the target attribute appropriately.
I believe you want to set your target to 1.1
We still should not be hanging and I will log a bug from this conversation
and look into the issue.
Thanks for you help,
Darins
"GaS" <gaseguin@cyberus.ca> wrote in message
news:c3a76p$k61$1@eclipse.org...
> WOUHOU!! it was using my JDK 1.2 setting. I modified it to JDK 1.4 and it
> seams to work fine! Must be a problem between ant 1.5 - jdk 1.2 and
> eclipse somewhere.
>
> Eclips loads in a JDK 1.4 JVM session
> Ant loads in a JDK 1.4 JVM session,
>
> but if I add a compile target, which JVM will be used to compile the
> application?
>
> How can I make sure that the JDK used to compile is 1.22, even when I use
> ANT?
>
>
> Darin Swanson wrote:
>
> > Thanks.
> > To check the JRE for the Ant build, open the External tools launch
> > configuration dialog and go to the Ant JRE tab for your launch
> > configuration.
>
> > Darins
>
> > "GaS" <gaseguin@cyberus.ca> wrote in message
> > news:c3a59o$i72$1@eclipse.org...
> > > Eclipse loads from jdk 1.4 (j2sdk1.4.2_04), My default JRE (under
> > > Installed JRE, the one with a checkbox) is 1.2.2 (version 17 I
believe)
> > > I'm not 100% sure which is used by ant, but in ant's Global Entries,
it
> > > uses JDK 1.4's tools.jar.
> > >
> > > Darin Swanson wrote:
> > >
> > > > I need a few more details (sorry I should have asked before)
> > >
> > > > Are you launching the build in the same or separate VM from Eclipse?
> > > > What VM are you using?
> > >
> > > > Darins
> > >
> > >
>
>
|
|
|
Re: Ant script stalls [message #149070 is a reply to message #149061] |
Wed, 17 March 2004 19:32 |
Darin Swanson Messages: 2386 Registered: July 2009 |
Senior Member |
|
|
Logged https://bugs.eclipse.org/bugs/show_bug.cgi?id=55140
Darins
"Darin Swanson" <Darin_Swanson@us.ibm.com> wrote in message
news:c3a88i$lbt$1@eclipse.org...
> Check out the docs for the javac task:
> http://ant.apache.org/manual/CoreTasks/javac.html
> Basically you set the target attribute appropriately.
> I believe you want to set your target to 1.1
>
> We still should not be hanging and I will log a bug from this conversation
> and look into the issue.
>
> Thanks for you help,
> Darins
>
> "GaS" <gaseguin@cyberus.ca> wrote in message
> news:c3a76p$k61$1@eclipse.org...
> > WOUHOU!! it was using my JDK 1.2 setting. I modified it to JDK 1.4 and
it
> > seams to work fine! Must be a problem between ant 1.5 - jdk 1.2 and
> > eclipse somewhere.
> >
> > Eclips loads in a JDK 1.4 JVM session
> > Ant loads in a JDK 1.4 JVM session,
> >
> > but if I add a compile target, which JVM will be used to compile the
> > application?
> >
> > How can I make sure that the JDK used to compile is 1.22, even when I
use
> > ANT?
> >
> >
> > Darin Swanson wrote:
> >
> > > Thanks.
> > > To check the JRE for the Ant build, open the External tools launch
> > > configuration dialog and go to the Ant JRE tab for your launch
> > > configuration.
> >
> > > Darins
> >
> > > "GaS" <gaseguin@cyberus.ca> wrote in message
> > > news:c3a59o$i72$1@eclipse.org...
> > > > Eclipse loads from jdk 1.4 (j2sdk1.4.2_04), My default JRE (under
> > > > Installed JRE, the one with a checkbox) is 1.2.2 (version 17 I
> believe)
> > > > I'm not 100% sure which is used by ant, but in ant's Global Entries,
> it
> > > > uses JDK 1.4's tools.jar.
> > > >
> > > > Darin Swanson wrote:
> > > >
> > > > > I need a few more details (sorry I should have asked before)
> > > >
> > > > > Are you launching the build in the same or separate VM from
Eclipse?
> > > > > What VM are you using?
> > > >
> > > > > Darins
> > > >
> > > >
> >
> >
>
>
|
|
|
Re: Ant script stalls [message #149087 is a reply to message #149070] |
Wed, 17 March 2004 19:32 |
Greg A Seguin Messages: 28 Registered: July 2009 |
Junior Member |
|
|
Thanks Again
Darin Swanson wrote:
> Logged https://bugs.eclipse.org/bugs/show_bug.cgi?id=55140
> Darins
> "Darin Swanson" <Darin_Swanson@us.ibm.com> wrote in message
> news:c3a88i$lbt$1@eclipse.org...
> > Check out the docs for the javac task:
> > http://ant.apache.org/manual/CoreTasks/javac.html
> > Basically you set the target attribute appropriately.
> > I believe you want to set your target to 1.1
> >
> > We still should not be hanging and I will log a bug from this conversation
> > and look into the issue.
> >
> > Thanks for you help,
> > Darins
> >
> > "GaS" <gaseguin@cyberus.ca> wrote in message
> > news:c3a76p$k61$1@eclipse.org...
> > > WOUHOU!! it was using my JDK 1.2 setting. I modified it to JDK 1.4 and
> it
> > > seams to work fine! Must be a problem between ant 1.5 - jdk 1.2 and
> > > eclipse somewhere.
> > >
> > > Eclips loads in a JDK 1.4 JVM session
> > > Ant loads in a JDK 1.4 JVM session,
> > >
> > > but if I add a compile target, which JVM will be used to compile the
> > > application?
> > >
> > > How can I make sure that the JDK used to compile is 1.22, even when I
> use
> > > ANT?
> > >
> > >
> > > Darin Swanson wrote:
> > >
> > > > Thanks.
> > > > To check the JRE for the Ant build, open the External tools launch
> > > > configuration dialog and go to the Ant JRE tab for your launch
> > > > configuration.
> > >
> > > > Darins
> > >
> > > > "GaS" <gaseguin@cyberus.ca> wrote in message
> > > > news:c3a59o$i72$1@eclipse.org...
> > > > > Eclipse loads from jdk 1.4 (j2sdk1.4.2_04), My default JRE (under
> > > > > Installed JRE, the one with a checkbox) is 1.2.2 (version 17 I
> > believe)
> > > > > I'm not 100% sure which is used by ant, but in ant's Global Entries,
> > it
> > > > > uses JDK 1.4's tools.jar.
> > > > >
> > > > > Darin Swanson wrote:
> > > > >
> > > > > > I need a few more details (sorry I should have asked before)
> > > > >
> > > > > > Are you launching the build in the same or separate VM from
> Eclipse?
> > > > > > What VM are you using?
> > > > >
> > > > > > Darins
> > > > >
> > > > >
> > >
> > >
> >
> >
|
|
|
Goto Forum:
Current Time: Sat Nov 09 05:46:11 GMT 2024
Powered by FUDForum. Page generated in 0.04556 seconds
|