| 
| Ant script stalls [message #148386] | Fri, 12 March 2004 15:44  |  | 
| Eclipse User  |  |  |  |  | I'm using Eclipse 2 and Eclipse 3 (Tried M7 and M6, current=M6). I have a simple build.xml file which simply seems to stall in the console.
 
 In Eclipse 2, it gives me the following output:
 
 --
 Buildfile: c:\eclipse\workspace\SurveyApp\build.xml
 
 Copy JSPs to Root:
 [copydir] DEPRECATED - The copydir task is deprecated.  Use copy
 instead.
 BUILD SUCCESSFUL
 Total time: 781 milliseconds
 --
 
 In Eclipse 3, There is a new Console instance created each time I launch,
 but nothing gets printed out, it just stays there for hours.  I can
 terminate the console, but I still can't "build".
 
 I looked at the \workspace\.metadata\.log file and did not see any note
 about ant.  Is there something I'm missing?  Which log file should I be
 looking at?
 |  |  |  | 
|  | 
|  | 
|  | 
|  | 
|  | 
|  | 
| 
| Re: Ant script stalls [message #149061 is a reply to message #149054] | Wed, 17 March 2004 14:26   |  | 
| Eclipse User  |  |  |  |  | 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 14:32  |  | 
| Eclipse User  |  |  |  |  | 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 14:32  |  | 
| Eclipse User  |  |  |  |  | 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
 > > > > >
 > > > > >
 > > >
 > > >
 > >
 > >
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.05839 seconds