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] - Command-line argument "jvmarg" attribute "file" not working.
Date Wed, 23 Apr 2003 11:27:15 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.





------- Additional Comments From henrik_e_westman@yahoo.se  2003-04-23 11:27 -------
Back to the example:

	<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>

Let's assume that I want to put the three properties:
			<jvmarg value="-Duser.region=US"/>
			<jvmarg value="-Duser.language=en"/>
			<jvmarg value="-Duser.timezone=Europe/Copenhagen"/>

, in a file called cmdline.properties, instead of one by one, so I try:

	<target name="run_mymain">
		<java classname="org.xpse.MyMain" fork="true">
			<classpath refid="run.path"/>
			<jvmarg file="../../cfg/cmdline.properties"/>		
		</java>
	</target>

Do you mean that this is not supposed to be possible ?
Or is it a bug ?

Mime
View raw message