You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by rageice <ra...@rastamail.com> on 2008/12/07 20:25:10 UTC
[about exec and eclipse!?]
Hello everybody, sorry for my bad englsh.
Until a few time, a problem appears with eclipse and ant (I don't know what
has changed...)
This is the problem.
A simple script:
<project name="TEST" default="domain-start" basedir="." >
<!-- start server domain -->
<target name="domain-start">
<exec executable="cmd">
<arg value="/c" />
<arg value="C:/work/sun/glassfish/bin/asadmin.bat" />
<arg value="start-domain" />
<arg value="--verbose" />
<arg value="domain1" />
</exec>
</target>
</project>
When I execute it under eclipse, I don't know what happens exactly, but the
output is the following:
Buildfile:
E:\work\projects\eclipse\WorkspaceJSF\FULLAPPLI_RI\build\build2.xml
domain-start:
[exec] Starting Domain domain1, please wait.
(and nothing more, the job doesn't stop, and there is no more output: I
think that the job is bloqued here)
And when I execute exactly the same script with the commandline (and the
same ant path than the eclipse one), this is the result (the good resultl):
...
...
[exec]
[exec]
[#|2008-12-07T20:18:00.911+0100|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;|WEB0302:
ting Sun-Java-System/Application-Server.|#]
[exec]
[exec]
[#|2008-12-07T20:18:01.254+0100|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;8080;|WEB0
Starting Sun-Java-System/Application-Server HTTP/1.1 on 8080|#]
[exec]
[exec]
[#|2008-12-07T20:18:01.302+0100|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;8181;|WEB0
Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181|#]
[exec]
[exec]
[#|2008-12-07T20:18:01.310+0100|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;4848;|WEB0
Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848|#]
[exec]
[exec]
[#|2008-12-07T20:18:01.924+0100|INFO|sun-appserver9.1|javax.enterprise.system.core.selfmanagement|_ThreadID=10;_ThreadName=main;|SMG
7: Self Management Rules service is enabled|#]
[exec]
[exec]
[#|2008-12-07T20:18:01.946+0100|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Application
server
rtup complete.|#]
[exec]
Really, I can't understand the problem with eclipse, but it looks like there
is a problem of thread. Too hard to explain...
Have you got an idea about this problem?
Thanks in advance.
--
View this message in context: http://www.nabble.com/-about-exec-and-eclipse%21---tp20884550p20884550.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org