Here's my suggestion.
At the beginning of your bat, CD to a folder close to the jar files. Then you'll have
much less characters in your classpath.
I have had this problem trying to use the 2.0.4 CLI, but didn't persevere through to a
solution.
Regards, Upayavira
> Hello,
>
> althoug many pe
Robert Sösemann wrote:
>. . .
set CLASSPATH
%CLASSPATH%;D:\tmp\rauser-cocoon\WEB-INF\lib\avalon-excalibur-vm14-20020705.
jar;D:\tmp\rauser-cocoon\WEB-INF\lib\avalon-framework-20020627.jar
>. . .
You need the equals signs in there I think, here's an example that works
under windows 2000:
@ec
Thanks. As I don't want to install ant. Could you just send me this batch
file.
- Original Message -
From: "du Plessis, Corneil C" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 15, 2003 2:52 PM
Subject: RE: 1001 question aboit Command L
;main" java.lang.NoClassDefFoundError:
org/apache/cocoon/Main
- Original Message -
From: "Bertrand Delacretaz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 15, 2003 4:27 PM
Subject: Re: 1001 question aboit Command Line Interface
> Robert Sösemann wrote:
>
Robert Sösemann wrote:
I tried this, but - for which reason ever - only the last "set" line is
really changing the classpath.
Do have any ideas why?
We might be able to help if you post a (minimal) excerpt from your batch
file here, that demonstrates the problem.
-Bertrand
--
2003 12:57 PM
Subject: Re: 1001 question aboit Command Line Interface
> Robert Sösemann wrote:
> >. . .
> > Because it is a really long classpath I mad a .bat. Running it I get an
> > error that the line is too long.
>
> If it is really a "line too long" pr
Look at the lcp.bat that comes with Ant.
-Original Message-
From: Bertrand Delacretaz [mailto:[EMAIL PROTECTED]]
Sent: 15 January, 2003 13:57
To: [EMAIL PROTECTED]
Subject: Re: 1001 question aboit Command Line Interface
Robert Sösemann wrote:
>. . .
> Because it is a reall
Try it without the equals sign:
SET CLASSPATH %CLASSPATH%;
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 8:48 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: 1001 question aboit Command Line Interface
I tried this
2003 12:57 PM
Subject: Re: 1001 question aboit Command Line Interface
> Robert Sösemann wrote:
> >. . .
> > Because it is a really long classpath I mad a .bat. Running it I get an
> > error that the line is too long.
>
> If it is really a "line too long" proble
Besides setting the path in different lines, like Bertrand explained,
additionally you can use the subst command to shorten the path spec to your
libs, something like: subst x: "path to\WEB-INF\lib".
HTH
Michael
-Original Message-
From: Robert Sösemann
To: [EMAIL PROTECTED]
Sent: 15-1-200
Robert Sösemann wrote:
>. . .
Because it is a really long classpath I mad a .bat. Running it I get an
error that the line is too long.
If it is really a "line too long" problem and not and "out of
environment space" problem, you might want to try to setup the classpath
in several steps:
set
11 matches
Mail list logo