Ant Terminated Problem [message #211574] |
Tue, 22 May 2007 03:48 |
Eclipse User |
|
|
|
Originally posted by: cockiest.hotmail.com
hi techies,
i am a newbie in eclipse & have problem to run my first ant script. The
script only have one target to echo message "hello world" but the console
output nothing.
this is what i found in the debug screen:
/home/so/_lab_java/eclipse_space/Lesson0/build.xml
<terminated, exit value: 1> /usr/_programming/jdk1.6.0_01/bin/java
fyi eclipse_space is my workspace of eclipse. i am using eclipse 3.2.2
under debian linux 4.0.
can anyone kindly advise the steps to troubleshoot this problem?
thank you.
|
|
|
|
Re: Ant Terminated Problem [message #211849 is a reply to message #211633] |
Thu, 24 May 2007 01:24 |
Eclipse User |
|
|
|
Originally posted by: cockiest.hotmail.com
thanks darins,
i have tried both ways inserting sleep (just before the echo or create a
new dependance target) but still the same problem.
i also debug by setting breakpoint at the project tag but it didn't pause
into the debug mode.
is this eclipse or debian or jdk problem?
any clue?
|
|
|
|
Re: Ant Terminated Problem [message #212792 is a reply to message #211924] |
Wed, 30 May 2007 02:51 |
Eclipse User |
|
|
|
Originally posted by: cockiest.hotmail.com
i can't find the .log file. however in the log error screen there are many
errors.
1) these errors showed when open the build.xml with ant editor:
SESSION 2007-05-26 01:21:54.458
-----------------------------------------------
eclipse.buildId=M20070212-1330
java.version=1.6.0_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86
!ENTRY org.eclipse.ant.core 4 3 2007-05-26 01:22:37.362
!MESSAGE The library "ant_tasks/helpbase-ant.jar" specified from
"org.eclipse.help.base" for the antTasks or antTypes extension does not
exist
!ENTRY org.eclipse.ant.core 4 3 2007-05-26 01:22:37.504
!MESSAGE The library "ant_tasks/resources-ant.jar" specified from
"org.eclipse.core.resources" for the antTasks or antTypes extension does
not exist
!ENTRY org.eclipse.ant.core 4 3 2007-05-26 01:22:37.506
!MESSAGE The library "ant_tasks/resources-ant.jar" specified from
"org.eclipse.core.resources" for the antTasks or antTypes extension does
not exist
!ENTRY org.eclipse.ant.core 4 3 2007-05-26 01:22:37.507
!MESSAGE The library "ant_tasks/resources-ant.jar" specified from
"org.eclipse.core.resources" for the antTasks or antTypes extension does
not exist
!ENTRY org.eclipse.ant.core 4 3 2007-05-26 01:22:37.509
!MESSAGE The library "jdtCompilerAdapter.jar" specified from
"org.eclipse.jdt.core" for the antTasks or antTypes extension does not
exist
!ENTRY org.eclipse.ant.core 4 3 2007-05-26 01:22:37.510
!MESSAGE The library "ant_tasks/pde-ant.jar" specified from
"org.eclipse.pde.core" for the antTasks or antTypes extension does not
exist
!ENTRY org.eclipse.ant.core 4 3 2007-05-26 01:22:37.512
!MESSAGE The library "ant_tasks/pde-ant.jar" specified from
"org.eclipse.pde.core" for the antTasks or antTypes extension does not
exist
!ENTRY org.eclipse.ant.core 4 3 2007-05-26 01:22:37.525
!MESSAGE The library "ant_tasks/pde-ant.jar" specified from
"org.eclipse.pde.core" for the antTasks or antTypes extension does not
exist
!ENTRY org.eclipse.ant.core 4 3 2007-05-26 01:22:37.526
!MESSAGE The library "ant_tasks/helpbase-ant.jar" specified from
"org.eclipse.help.base" for the extraClasspathEntries extension does not
exist
!ENTRY org.eclipse.ant.core 4 3 2007-05-26 01:22:37.528
!MESSAGE The library "lib/antrunner.jar" specified from
"org.eclipse.ant.ui" for the extraClasspathEntries extension does not exist
!ENTRY org.eclipse.ant.core 4 3 2007-05-26 01:22:37.529
!MESSAGE The library "lib/remoteAnt.jar" specified from
"org.eclipse.ant.ui" for the extraClasspathEntries extension does not exist
!ENTRY org.eclipse.ant.core 4 3 2007-05-26 01:22:37.530
!MESSAGE The library "lib/antsupportlib.jar" specified from
"org.eclipse.ant.core" for the extraClasspathEntries extension does not
exist
!ENTRY org.eclipse.ant.core 4 3 2007-05-26 01:22:37.531
!MESSAGE The library "ant_tasks/resources-ant.jar" specified from
"org.eclipse.core.resources" for the extraClasspathEntries extension does
not exist
!ENTRY org.eclipse.ant.core 4 3 2007-05-26 01:22:37.533
!MESSAGE The library "jdtCompilerAdapter.jar" specified from
"org.eclipse.jdt.core" for the extraClasspathEntries extension does not
exist
!ENTRY org.eclipse.ant.core 4 3 2007-05-26 01:22:37.534
!MESSAGE The library "ant_tasks/pde-ant.jar" specified from
"org.eclipse.pde.core" for the extraClasspathEntries extension does not
exist
2) these errors when run the script:
!ENTRY org.eclipse.ant.ui 4 120 2007-05-26 01:29:50.385
!MESSAGE Error logged from Ant UI:
!STACK 0
java.net.SocketTimeoutException: Accept timed out
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
at java.net.ServerSocket.implAccept(ServerSocket.java:450)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at
org.eclipse.ant.internal.ui.launchConfigurations.RemoteAntBu ildListener$ServerConnection.run(RemoteAntBuildListener.java :95)
could it be the linux permission problem?
|
|
|
|
Re: Ant Terminated Problem [message #212963 is a reply to message #212800] |
Thu, 31 May 2007 01:18 |
Eclipse User |
|
|
|
Originally posted by: cockiest.hotmail.com
i have double checked the original eclipse-SDK-3.2.2-linux-gtk.tar.gz
downloaded from eclipse website. jar files for ant are inside
plugins/org.apache.ant_1.6.5/ only. indeed it doesn't contain the required
files (helpbase-ant.jar, resources-ant.jar, jdtCompilerAdapter.jar, etc)
that in the log.
where can i get these files? additional plugin?
|
|
|
|
Re: Ant Terminated Problem [message #213588 is a reply to message #213143] |
Mon, 04 June 2007 05:28 |
Eclipse User |
|
|
|
Originally posted by: cockiest.hotmail.com
i think i have found the cause.
i moved the eclipse workspace from _java_lab to java_lab, problem solved!
thank you very much.
|
|
|
Powered by
FUDForum. Page generated in 0.09057 seconds