[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-530) Seam-gen create entity using action package (build.xml)
Wayne Zhang (JIRA)
jira-events at jboss.com
Tue Nov 28 08:21:55 EST 2006
Seam-gen create entity using action package (build.xml)
-------------------------------------------------------
Key: JBSEAM-530
URL: http://jira.jboss.com/jira/browse/JBSEAM-530
Project: JBoss Seam
Issue Type: Bug
Affects Versions: 1.1.0.CR1
Environment: Windows 2k, Sun JDK 1.5.0_09
Reporter: Wayne Zhang
When new entity (seam new-entity), the created entity class package using the action package. Wrong settings are used in the build.xml line 329-331 using ${action.dir} but should be ${modle.dir}.
Also, the shell/batch file to run seam-gen (seam.bat and seam) should be improved, we should not using java directly, because the Java command is PATH may be not the same one as JAVA_HOME, the following code should be add (bash, windows also):
if [ "${JAVA_HOME}" = "" ]
then
JAVA_CMD=java
else
JAVA_CMD=${JAVA_HOME}/bin/java
fi
and in the Unix/Linux shell, the %1 %2 .... should be replaced with %*
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list