[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-546) seam-gen should be runnable from outside of the seam dir

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Mar 14 08:12:05 EDT 2008

     [ http://jira.jboss.com/jira/browse/JBSEAM-546?page=all ]

Pete Muir closed JBSEAM-546.

> 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


More information about the seam-issues mailing list