[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-546) seam-gen should be runnable from outside of the seam dir
Norman Richards (JIRA)
jira-events at jboss.com
Fri Dec 1 11:21:55 EST 2006
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
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
More information about the seam-issues
mailing list