[
http://jira.jboss.com/jira/browse/JBSEAM-546?page=all ]
Norman Richards resolved JBSEAM-546.
------------------------------------
Resolution: Done
Fixed for the shell script. It looks like the bat file already contains the correct code
from the run.bat, but I don't have a windows machine to test on.
seam-gen should be runnable from outside of the seam dir
--------------------------------------------------------
Key: JBSEAM-546
URL:
http://jira.jboss.com/jira/browse/JBSEAM-546
Project: JBoss Seam
Issue Type: Feature Request
Components: Tools
Reporter: Norman Richards
Assigned To: Norman Richards
Fix For: 1.1.1.GA
the seam script can only be run from within the seam install directory. It should be
runnable from anywhere. I suggest adding the following, mostly stolen from the JBoss
run.sh script:
DIRNAME=`dirname $0`
if [ "x$SEAM_HOME" = "x" ]; then
# get the full path (without any relative bits)
SEAM_HOME=`cd $DIRNAME; pwd`
fi
cd $SEAM_HOME/seam-gen
This would allow the application to be run from anywhere, and also gives the user the
ability to specify SEAM_HOME if they want to. I'm sure run.bat shows how to best
accomplish this for non-UNIX people.
--
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