DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=34029>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=34029 Summary: Invalid initial heap size: -Xms64m -Xmx512m Could not create Java Virtual Machine Product: Ant Version: 1.5 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Build Process AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] i m using jdk1.5.0_01 if i user java.exe of jdk1.5.0_01 then i m getting the following error Invalid initial heap size: -Xms64m -Xmx512m Could not create Java Virtual Machine. But if i run java.exe in the command prompt with the same jvm arguments. its not giving any problem. is this the bug in ant or i m doing any mistake. Following the target <target name="generateActionsXml" depends="init"> <echo>+--------------------------------------------------- +</echo> <echo>| |</echo> <echo>| G E N E R A T E C U D S F X M L |</echo> <echo>| |</echo> <echo>+--------------------------------------------------- +</echo> <echo>Generating actions xml for ${ant.project.name}</echo> <mkdir dir="${cdms.actionsxml.dir}"/> <java classname="com.trigent.core.codegen.CreateCUDSFXml" fork="true" jvm="${jdk1.5.home}/bin/java.exe" dir="${cdms.home}"> <jvmarg value="-Xms64m -Xmx512m"/> <sysproperty key="log4j.configuration" value="cdms- log4j.xml"/> <arg value="${cdms.actionsxml.dir}"/> <arg value="${cdms.actionsxmlschema.prefix}"/> <arg value="${cdms.datamodel.xml}"/> <classpath> <path location="${cdms.src.dir}"/> <path location="${cdms.config.dir}"/> <path refid="cdms.class.path"/> </classpath> </java> <echo>Generated actions xml for ${ant.project.name}</echo> </target> -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]