You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Frank Watty <fr...@gmx.net> on 2003/06/05 23:11:59 UTC
Build problem on Macosx
Hi all,
I'just been trying to build lenya on Macosx 10.2.6 (Jaguar).
My Problem is that for building tools.jar seems to be necessary which
under the mac version of the jdk 1.4.1 is not present. Instead all the
comprised tools are linked into /usr/bin from a different location.
Does anyone now a solution for that problem?? The only info i can get
from developer.apple.com is that the ant buildfiles have to be modified,
but how....
Thanks in advance
Frank
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Build problem on Macosx
Posted by Markus Vaterlaus <mv...@mus.ch>.
Hi all,
also using Mac OS X (10.2.6, 640 MB, tomcat and cocoon as adviced by
Lenya) here, JFYI. As I did my last installation, I had no problems
with tools.jar or serious errors regarding the lack of this file. I
also can't remember, that I had to copy this jar to some place. For
sure I didn't has to change init-build.xml. HTH.
Please note, that at the moment I have no access to my Mac and the last
installation took place about 24 days ago (not 1.0rc1). So, there might
be a slight chance, that my information is quite outdated.
Markus
<snip/>
>>
>> Hi all
>> I activated a friend who is a mac guru, and here is the simple
>> solution. In MACOSX tools.jar is not needed so just take a look at
>> $LENYA_HOME/src/targets init-build.xml and modify as follows:
>>
>> Replace the check-tools-lib and prepare-tools-lib targets with empty
>> not conditioned targets, after that the build process runs without
>> errors
>
>
> Great that you managed, but still we (or at least I) need to
> understand that better.
>
> Bill, did you do the same modifications within the "init-build.xml"
> in order to build Lenya?
>
> Thanks
>
> Michael
>
>>
>>
>> <!-- ============================================================ -->
>> <!-- Check the tools.jar existance -->
>> <!-- =============================================================-->
>> <!--
>> <target name="check-tools-lib" unless="tools.jar.present"
>> depends="init">
>> <!~~ NOTE: java.home is normally set by the JVM to the /jre
>> directory ~~>
>> <echo
>> message="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-
>> "/>
>> <echo message="Couldn't find the tools.jar."/>
>> <echo message=" Make sure to copy the tools.jar from your"/>
>> <echo message=" $$JAVA_HOME/lib directory to the"/>
>> <echo message=" ${build.webapp}/WEB-INF/lib/javac.jar"/>
>> <echo message=" directory prior to build/install the webapp/war
>> file(s)"/>
>> <echo
>> message="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-
>> "/>
>> </target>
>> -->
>>
>> <target name="check-tools-lib" depends="init">
>> </target>
>>
>> <!-- ============================================================
>> -->
>> <!-- Copies the tools.jar to javac.jar in web-inf/lib
>> -->
>> <!--
>> =============================================================-->
>> <!--
>> <target name="prepare-tools-lib" if="tools.jar.present"
>> depends="init">
>> <!~~ NOTE: java.home is normally set by the JVM to the /jre
>> directory ~~>
>> <copy file="${tools.jar}"
>> tofile="${build.webapp}/WEB-INF/lib/javac.jar"/>
>> </target>
>> -->
>>
>> <target name="prepare-tools-lib" depends="init">
>> </target>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Build problem on Macosx
Posted by Bill Humphries <wh...@apple.com>.
On Saturday, June 7, 2003, at 04:19 PM, Michael Wechner wrote:
> Bill, did you do the same modifications within the "init-build.xml"
> in order to build Lenya?
No, I didn't have to make those changes. However I've not tried to
build the 5/27 version.
-- whump
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Build problem on Macosx
Posted by Michael Wechner <mi...@apache.org>.
Frank Watty wrote:
> Bill Humphries wrote:
<snip />
>
>> I'm trying to recall where tools.jar went.
>>
>> -- whump
>
>
> Hi all
> I activated a friend who is a mac guru, and here is the simple
> solution. In MACOSX tools.jar is not needed so just take a look at
> $LENYA_HOME/src/targets init-build.xml and modify as follows:
>
> Replace the check-tools-lib and prepare-tools-lib targets with empty
> not conditioned targets, after that the build process runs without errors
Great that you managed, but still we (or at least I) need to understand
that better.
Bill, did you do the same modifications within the "init-build.xml" in
order to build Lenya?
Thanks
Michael
>
>
> <!-- ============================================================ -->
> <!-- Check the tools.jar existance -->
> <!-- =============================================================-->
> <!--
> <target name="check-tools-lib" unless="tools.jar.present"
> depends="init">
> <!~~ NOTE: java.home is normally set by the JVM to the /jre
> directory ~~>
> <echo
> message="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-"/>
> <echo message="Couldn't find the tools.jar."/>
> <echo message=" Make sure to copy the tools.jar from your"/>
> <echo message=" $$JAVA_HOME/lib directory to the"/>
> <echo message=" ${build.webapp}/WEB-INF/lib/javac.jar"/>
> <echo message=" directory prior to build/install the webapp/war
> file(s)"/>
> <echo
> message="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-"/>
> </target>
> -->
>
> <target name="check-tools-lib" depends="init">
> </target>
>
> <!-- ============================================================ -->
> <!-- Copies the tools.jar to javac.jar in web-inf/lib -->
> <!-- =============================================================-->
> <!--
> <target name="prepare-tools-lib" if="tools.jar.present" depends="init">
> <!~~ NOTE: java.home is normally set by the JVM to the /jre
> directory ~~>
> <copy file="${tools.jar}"
> tofile="${build.webapp}/WEB-INF/lib/javac.jar"/>
> </target>
> -->
>
> <target name="prepare-tools-lib" depends="init">
> </target>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Build problem on Macosx
Posted by Frank Watty <fr...@gmx.net>.
Bill Humphries wrote:
>
> On Friday, June 6, 2003, at 01:22 AM, Michael Wechner wrote:
>
>> Frank Watty wrote:
>>
>>> Hi all,
>>> I'just been trying to build lenya on Macosx 10.2.6 (Jaguar).
>>> My Problem is that for building tools.jar seems to be necessary which
>>> under the mac version of the jdk 1.4.1 is not present. Instead all
>>> the comprised tools are linked into /usr/bin from a different location.
>>> Does anyone now a solution for that problem??
>>
>>
>> Unfortunately I can't tell you at the moment how this done, but I know
>> that Bill Humphries was able to install it on 10.2 (I finally
>> understand why in Mathematics there is a need for "existence proofs" ;-)
>
>
> I had no trouble building Cocoon M1 and Lenya under 10.2. I did copy the
> xalan, xerces and xml-apis that ship with Cocoon into
> /System/Library/Frameworks/JavaVM.Framework/Home/lib/endorsed.
>
> I'm trying to recall where tools.jar went.
>
> -- whump
Hi all
I activated a friend who is a mac guru, and here is the simple solution.
In MACOSX tools.jar is not needed so just take a look at
$LENYA_HOME/src/targets init-build.xml and modify as follows:
Replace the check-tools-lib and prepare-tools-lib targets with empty not
conditioned targets, after that the build process runs without errors
<!-- ============================================================ -->
<!-- Check the tools.jar existance -->
<!-- =============================================================-->
<!--
<target name="check-tools-lib" unless="tools.jar.present"
depends="init">
<!~~ NOTE: java.home is normally set by the JVM to the /jre
directory ~~>
<echo
message="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-"/>
<echo message="Couldn't find the tools.jar."/>
<echo message=" Make sure to copy the tools.jar from your"/>
<echo message=" $$JAVA_HOME/lib directory to the"/>
<echo message=" ${build.webapp}/WEB-INF/lib/javac.jar"/>
<echo message=" directory prior to build/install the webapp/war
file(s)"/>
<echo
message="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-"/>
</target>
-->
<target name="check-tools-lib" depends="init">
</target>
<!-- ============================================================ -->
<!-- Copies the tools.jar to javac.jar in web-inf/lib -->
<!-- =============================================================-->
<!--
<target name="prepare-tools-lib" if="tools.jar.present" depends="init">
<!~~ NOTE: java.home is normally set by the JVM to the /jre
directory ~~>
<copy file="${tools.jar}"
tofile="${build.webapp}/WEB-INF/lib/javac.jar"/>
</target>
-->
<target name="prepare-tools-lib" depends="init">
</target>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Build problem on Macosx
Posted by Bill Humphries <wh...@apple.com>.
On Friday, June 6, 2003, at 01:22 AM, Michael Wechner wrote:
> Frank Watty wrote:
>> Hi all,
>> I'just been trying to build lenya on Macosx 10.2.6 (Jaguar).
>> My Problem is that for building tools.jar seems to be necessary which
>> under the mac version of the jdk 1.4.1 is not present. Instead all
>> the comprised tools are linked into /usr/bin from a different
>> location.
>> Does anyone now a solution for that problem??
>
> Unfortunately I can't tell you at the moment how this done, but I know
> that Bill Humphries was able to install it on 10.2 (I finally
> understand why in Mathematics there is a need for "existence proofs"
> ;-)
I had no trouble building Cocoon M1 and Lenya under 10.2. I did copy
the xalan, xerces and xml-apis that ship with Cocoon into
/System/Library/Frameworks/JavaVM.Framework/Home/lib/endorsed.
I'm trying to recall where tools.jar went.
-- whump
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Build problem on Macosx
Posted by Michael Wechner <mi...@wyona.org>.
Frank Watty wrote:
> Hi all,
>
> I'just been trying to build lenya on Macosx 10.2.6 (Jaguar).
> My Problem is that for building tools.jar seems to be necessary which
> under the mac version of the jdk 1.4.1 is not present. Instead all the
> comprised tools are linked into /usr/bin from a different location.
>
> Does anyone now a solution for that problem??
Unfortunately I can't tell you at the moment how this done, but I know
that Bill Humphries was able to install it on 10.2 (I finally understand
why in Mathematics there is a need for "existence proofs" ;-)
Thanks
Michael
The only info i can get
> from developer.apple.com is that the ant buildfiles have to be modified,
> but how....
>
> Thanks in advance
>
>
> Frank
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>
>
--
Michael Wechner
Wyona Ltd. - 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-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org