Is there a limit to how long the total path can be?  It seems to get 
corrupted after 520 characters.

For example, the compile target works when I remove the for loop and put in
CLASSPATH=$CLASSPATH:lib/mm.mysql-2.0.2-bin.jar
CLASSPATH=$CLASSPATH:../../../../lib/ant.jar
CLASSPATH=$CLASSPATH:../../../../lib/jasper.jar
CLASSPATH=$CLASSPATH:../../../../lib/jaxp.jar
CLASSPATH=$CLASSPATH:../../../../lib/parser.jar
CLASSPATH=$CLASSPATH:../lib/turbine-2.1-dev-unreleased.jar
CLASSPATH=$CLASSPATH:../lib/velocity-0.71.jar

However, to get other targets (init) to work, it's necessary to add in 
other jars:

CLASSPATH=$CLASSPATH:lib/mm.mysql-2.0.2-bin.jar
CLASSPATH=$CLASSPATH:../../../../lib/ant.jar
CLASSPATH=$CLASSPATH:../../../../lib/jasper.jar
CLASSPATH=$CLASSPATH:../../../../lib/jaxp.jar
CLASSPATH=$CLASSPATH:../../../../lib/parser.jar
CLASSPATH=$CLASSPATH:../lib/turbine-2.1-dev-unreleased.jar
CLASSPATH=$CLASSPATH:../lib/velocity-0.71.jar
CLASSPATH=$CLASSPATH:../lib/xalan-1.2.1.jar
CLASSPATH=$CLASSPATH:../lib/xerces-1.2.1.jar

If, after the cygpath is run against that, I echo the CLASSPATH, I get:
d:\jdk1.3\lib\mm.mysql-2.0.2-bin.jar;d:\jdk1.3\lib\tools.jar;lib\mm.mysql-2.0.2-
bin.jar;d:\cygwin\home\administrator\tdk\lib\ant.jar;d:\cygwin\home\administrato
r\tdk\lib\jasper.jar;d:\cygwin\home\administrator\tdk\lib\jaxp.jar;d:\cygwin\hom
e\administrator\tdk\lib\parser.jar;d:\cygwin\home\administrator\tdk\webapps\cdtr
ack\WEB-INF\lib\turbine-2.1-dev-unreleased.jar;d:\cygwin\home\administrator\tdk\
webapps\cdtrack\WEB-INF\lib\velocity-0.71.jar;d:\cygwin\home\administrator\tdk\w
ebapps\cdtrack\WEB-INF\lib\x ?s-1.2.1.jar

The last x before the weird character is the 520'th character in the 
classpath.

And actually, I've tried taking out and adding back into the classpath, 
and sometimes things get goofy around 478 or so.

Unfortunately, this looks like a problem with Cygwin, and off the top of 
my head, I can't think of an easy way around this - except to put all 
the jars at the root of the drive and hope the classpath doesn't get too 
long.

The reason things work under scarab is because only about 4 jars get 
added to the CLASSPATH total.

wts

Jason van Zyl wrote:

> 
>> 2) The issue with /r/l on the generated SQL files to be imported into 
>> the DB - so there is still the trailing , after the last field in each 
>> of the CREATE TABLE statements.
> 
> 
> Ok, I think I found the problem with this. I will boot up a Windows
> box and test this tonight.
>  
> So we just have to figure out the create-database script and
> the problem of the build-project.sh under cygwin. We'll
> get there.
> 
> jvz.
> 
> 
> 
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to