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
Sent: 15-1-2003 12:21
Subject: 1001 question aboit Command Line Interface
Hello,
althoug many people have asked question about the cli, I couln't find an
answer to mine.
I want to call the cli. But before I have to add ALL the lib in WEB-INF
to
my class path.
Because it is a really long cl
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
Hello,
althoug many people have asked question about the cli, I couln't find an
answer to mine.
I want to call the cli. But before I have to add ALL the lib in WEB-INF to
my class path.
Because it is a really long classpath I mad a .bat. Running it I get an
error that the line is too long.
I tri
12 matches
Mail list logo