]
Gavin King closed JBSEAM-530.
-----------------------------
Fix Version/s: 1.1.0.CR2
Resolution: Done
Assignee: Gavin King
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
Assigned To: Gavin King
Fix For: 1.1.0.CR2
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: