This is a problem when you pass paths to Windows executables
(e.g. java) that don't understand the way cygwin maps Windows paths.
The way to fix it is to use the cygpath executable which comes
with cygwin. You do something like this... (check the ant script in ant for
more details)
---------8<---------8<----------8<----------8<-------------
# Cygwin support. $cygwin _must_ be set to either true or false.
case "`uname`" in
CYGWIN*) cygwin=true ;;
*) cygwin=false ;;
esac
# For Cygwin, ensure paths are in UNIX format before anything is touched
if $cygwin; then
[ -n "$ANT_HOME" ] &&
ANT_HOME=`cygpath --unix "$ANT_HOME"`
[ -n "$JAVA_HOME" ] &&
JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
[ -n "$CLASSPATH" ] &&
CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
fi
---------8<---------8<----------8<----------8<-------------
I'll update all the relevant scripts if you think it's useful...
--
regards
Neale Swinnerton
On Mon, Dec 17, 2001 at 01:53:34PM -0800, Andreas Schaefer wrote:
> Hi Jason
>
> I copied the build.sh from 'jboss-all' and used it in the
> JBoss Branch 2.4 and now it is working. The problem
> was to start ANT directly will not work with CYGWIN.
>
> Andy
>
>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development