ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19150] New: - Command-line argument "jvmarg" attribute "file" not working.
Date Fri, 18 Apr 2003 13:22:43 GMT
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: dev@ant.apache.org
        ReportedBy: henrik_e_westman@yahoo.se


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>

Mime
View raw message