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=19150>.
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=19150

Command-line argument "jvmarg" attribute "file" not working.

           Summary: Command-line argument "jvmarg" attribute "file" not
                    working.
           Product: Ant
           Version: 1.5
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The target below fails because the file can not be found.

The "." in "cmdline.properties", is replaced with "/" => "cmdline/properties",
making the file impossible to find.


        <target name="run_mymain">
                <java classname="org.xpse.MyMain" fork="true">
                        <classpath refid="run.path"/>
                        <jvmarg file="../../cfg/cmdline.properties"/>           
                        <jvmarg value="-Duser.region=US"/>
                        <jvmarg value="-Duser.language=en"/>
                        <jvmarg value="-Duser.timezone=Europe/Copenhagen"/>
                </java>
        </target>

Reply via email to