You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Stuart Roebuck <st...@adolos.co.uk> on 2004/04/23 16:47:51 UTC
tools.jar copy
I'm trying to figure out why the Lenya build requires to copy tools.jar
during the process. tools.jar doesn't exist on Mac OS X so it's hard to
copy!
Apologies if this has been covered before I've searched the archives in
vain, but I'm new to this list.
Stuart.
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
Re: tools.jar copy
Posted by Stuart Roebuck <st...@adolos.co.uk>.
In article <40...@wyona.com>,
Michael Wechner <mi...@wyona.com> wrote:
> Michael Wechner wrote:
>
> >
> > well, then I guess Lenya doesn't need one either and it might be a
> > relict indeed
> >
> >> Isn't it enough to have tools.jar in the classpath at runtime?
> >>
> >>
> >
> > well, let me try ...
>
>
> indeed, it's not being needed. I have removed it from
>
> src/targets init-build.xml properties-build.xml
>
>
>
> Please update your local CVS workspace
>
> Michi
Thanks, I'm building away as we speak.
Stuart.
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
Re: tools.jar copy
Posted by Michael Wechner <mi...@wyona.com>.
Michael Wechner wrote:
>
> well, then I guess Lenya doesn't need one either and it might be a
> relict indeed
>
>> Isn't it enough to have tools.jar in the classpath at runtime?
>>
>>
>
> well, let me try ...
indeed, it's not being needed. I have removed it from
src/targets init-build.xml properties-build.xml
Please update your local CVS workspace
Michi
>
> Michi
>
>> Stuart.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
>>
>>
>>
>>
>
>
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://cocoon.apache.org/lenya/
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
Re: tools.jar copy
Posted by Michael Wechner <mi...@wyona.com>.
Stuart Roebuck wrote:
>
>>The Lenya build process copies them to .../lenya/WEB-INF/lib/javac.jar
>>
>>
>
>I have vague recollections of a similar discussion some time ago for
>Cocoon.
>
>The Sun Java specs. don't require there to be a tools.jar file in the
>Java implementation and Mac OS X doesn't have one, though it does have
>the tools that tools.jar contains.
>
>However, Cocoon doesn't require a duplicate tools.jar file in order to
>operate XSP, so why does Lenya need one?
>
>
well, then I guess Lenya doesn't need one either and it might be a
relict indeed
>Isn't it enough to have tools.jar in the classpath at runtime?
>
>
well, let me try ...
Michi
>Stuart.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
>
>
>
>
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://cocoon.apache.org/lenya/
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
Re: tools.jar copy
Posted by Stuart Roebuck <st...@adolos.co.uk>.
In article <40...@wyona.com>,
Michael Wechner <mi...@wyona.com> wrote:
> Stuart Roebuck wrote:
>
> >I'm trying to figure out why the Lenya build requires to copy tools.jar
> >during the process. tools.jar doesn't exist on Mac OS X so it's hard to
> >copy!
> >
> >
>
> in the case of Debian you might find them at
>
> /usr/lib/j2sdk1.4/lib/tools.jar
>
> The Lenya build process copies them to .../lenya/WEB-INF/lib/javac.jar
I have vague recollections of a similar discussion some time ago for
Cocoon.
The Sun Java specs. don't require there to be a tools.jar file in the
Java implementation and Mac OS X doesn't have one, though it does have
the tools that tools.jar contains.
However, Cocoon doesn't require a duplicate tools.jar file in order to
operate XSP, so why does Lenya need one?
Isn't it enough to have tools.jar in the classpath at runtime?
Stuart.
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
Re: tools.jar copy
Posted by Michael Wechner <mi...@wyona.com>.
Stuart Roebuck wrote:
>I'm trying to figure out why the Lenya build requires to copy tools.jar
>during the process. tools.jar doesn't exist on Mac OS X so it's hard to
>copy!
>
>
in the case of Debian you might find them at
/usr/lib/j2sdk1.4/lib/tools.jar
The Lenya build process copies them to .../lenya/WEB-INF/lib/javac.jar
Michi
>Apologies if this has been covered before I've searched the archives in
>vain, but I'm new to this list.
>
>Stuart.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
>
>
>
>
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://cocoon.apache.org/lenya/
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
Re: tools.jar copy
Posted by Michael Wechner <mi...@wyona.com>.
Gregor J. Rothfuss wrote:
> Stuart Roebuck wrote:
>
>> I'm trying to figure out why the Lenya build requires to copy
>> tools.jar during the process. tools.jar doesn't exist on Mac OS X so
>> it's hard to copy!
>>
>> Apologies if this has been covered before I've searched the archives
>> in vain, but I'm new to this list.
>
>
> i suspect it is a relict from way past. ant 1.6 doesn't need it afaik.
>
> the build requires a refactoring, and requires it bad.
Well, I think tools.jar contain Java's Compiler classes in order to
compile XSP
on the fly
<s3 title="ServerPagesGenerator">
<p>The ServerPagesGenerator is the XML Server Pages (XSP) engine. It
automatically compiles a new Generator at runtime based on an input
XML file.</p>
<p>This generator requires that you have a JAXP 1.1 compliant
parser and
XSLT engine installed in your WEB-INF/libs directory. It also
requires
you to have the JDK's tools.jar file in your classpath. If you
reference any packages, they must also be in your classpath. The
created generator is not Cacheable.</p>
</s3>
used by
build/cocoon-2.1.4/classes/org/apache/cocoon/components/language/programming/java/Javac.class
but I am not sure if there is a difference between JDK1.3 and JDK1.4
Michi
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://cocoon.apache.org/lenya/
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
Re: tools.jar copy
Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Stuart Roebuck wrote:
> I'm trying to figure out why the Lenya build requires to copy tools.jar
> during the process. tools.jar doesn't exist on Mac OS X so it's hard to
> copy!
>
> Apologies if this has been covered before I've searched the archives in
> vain, but I'm new to this list.
i suspect it is a relict from way past. ant 1.6 doesn't need it afaik.
the build requires a refactoring, and requires it bad.
--
Gregor J. Rothfuss
Wyona Inc. - Open Source Content Management - Apache Lenya
http://wyona.com http://cocoon.apache.org/lenya
gregor.rothfuss@wyona.com gregor@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org