[jboss-user] [JBoss Seam] - Re: Seamgen 1.1CR: Exception in thread

james.williams@jboss.com do-not-reply at jboss.com
Wed Nov 29 16:18:10 EST 2006


The script is wrong, but it's fixed in CVS. Replace the shell script content in $SEAM_HOME/seam with this:


  | #/bin/sh
  | ############################################
  | #
  | # seam-gen
  | #
  | ############################################
  | 
  | cd seam-gen
  | 
  | # OS specific support (must be 'true' or 'false').
  | cygwin=false;
  | case "`uname`" in
  |     CYGWIN*)
  |         cygwin=true
  |         ;;
  | esac
  | 
  | if [ "${1}" = "" ]
  | then
  |    cat USAGE
  | elif [ "${1}" = help ]
  | then
  |    cat README
  | elif $cygwin 
  | then
  |    java -cp "${JAVA_HOME}\lib\tools.jar;..\lib\ant-nodeps.jar;..\lib\ant-launcher.jar;..\lib\ant.jar" -Dant.home=..\lib org.apache.tools.ant.launch.Launcher ${*}
  | else
  |    java -cp "${JAVA_HOME}/lib/tools.jar:../lib/ant-nodeps.jar:../lib/ant-launcher.jar:../lib/ant.jar" -Dant.home=../lib org.apache.tools.ant.launch.Launcher ${*}
  | fi
  | 
  | cd ..
  | 

James

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989828#3989828

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989828



More information about the jboss-user mailing list