DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21164>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21164

Task java with attribute jar does not work

           Summary: Task java with attribute jar does not work
           Product: Ant
           Version: 1.5.3
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


We are working on a server-client programm using RMI.
We got the following problem:
When using ant our Server does not seem to transfer a serialized JFrame to the
client.

Our programm works perfectly when using normal console start with following 
command:
java -Djava.security.policy=src/wbqsServer/java.policy -jar lib/server.jar

But when using ant with "ant startServerDefault" the server seems to start like
it should, but then just stops doing anything when a client wants a serialized
JFrame.

build.xml:
...
<target name="startServerDefault" depends="makeServerJar" description="start the
server by using the created jar file">
        <java jar="${dist}/server.jar" fork="yes">
        <jvmarg value="-Djava.security.policy=${src}/wbqsServer/java.policy"/>
        </java>
</target>
...


We tested the same version of our project on different plattforms and it seems
to be a MS Windows problem. While everthing works like it should on a Debian and
a Mandrake Linux system, we recognized the above described problem on MS Windows
2000 and MS Windows XP Professional.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to