You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@beehive.apache.org by vincent poirriez <vi...@univ-valenciennes.fr> on 2007/09/07 18:39:52 UTC

pb with ant 1.7 and the svn source distrib

I 'd appreciate any hint to manage to install this correctly

In the process to try to have beehive working with ant 1.7 I try to  
compile beehive from the source distrib
available through svn:

svn checkout https://svn.apache.org/repos/asf/beehive/trunk

then I follow the process described in
http://svn.apache.org/repos/asf/beehive/trunk/BUILDING.txt

evry thing is ok till
ant clean deploy

/beehive-imports.xml:346: Newer Ant required.

Building the project required Apache Ant 1.6.

You are currently using the following apache-ant:

ant.home    = /sw/lib/ant
ant.version = ${ant.version}

You may obtain a newer version of ant from

http://ant.apache.org/

If you have Ant 1.6 installed on your system, you may need to
adjust your ANT_HOME environment variable.

while
$ ant -version
Apache Ant version 1.7.0 compiled on September 7 2007
$which ant
/sw/bin/ant
$ echo $ANT_HOME
/sw/lib/ant


Many thanks in advance
Vincent Poirriez



********************************************************************
Enseignant-Chercheur HDR,
GR "RO Informatique"
Laboratoire d'Automatique, de Mécanique et d'Informatique,
industrielles et Humaines (LAMIH - UMR CNRS 8530)

********************************************************************
Attachments:
    MIME accepted
    Word deprecated, http://www.rfc1149.net/documents/whynotword
********************************************************************

Adresse Postale:
UVHC - Le Mont Houy
59313 Valenciennes cedex 9 - FRANCE

tel:: (33)3.27.51.19.53 - Fax: (33)3.27.51.19.40
skype: vincent.poirriez
courriel:  vincent POINT poirriez AT univ-valenciennes.fr
http://www.univ-valenciennes.fr/ROI/poirriez
********************************************************************





Re: pb with ant 1.7 and the svn source distrib

Posted by vincent poirriez <vi...@univ-valenciennes.fr>.
Hi,

  first, recall I 'm a newbie to beehive

   after some work, I've succeed to install beehive from the svn sources

   I try to give a chance to an existing project, but it appears it  
uses deploy-wsm wich is no longer in the distribution (it is present  
in beehive-import.xml in the previous release)

   I try some hack (copy and past from one version to another)  but  
it does work, if someone
   have a work around or some explanitions, it 'll be fine

thanks in advance

  Vincent

For information, the "exercise I try is A.3 in this tp: http:// 
sardes.inrialpes.fr/ecole/livre/pub/Annexes/Webserv/webserv_prat.html
the archive is there: http://sardes.inrialpes.fr/ecole/livre/pub/ 
Annexes/Webserv/Ressources/webserv_prat_1.tar



Le 7 sept. 07 à 19:21, Carlin Rogers a écrit :

> Hi Vincent,
>
> I think you would only need Forrest if you plan to build the docs for
> the full distribution. I noticed from your check.setup output that
> you're using Tomcat 6. Will be curious to hear how that goes.
>
> Kind regards,
> Carlin
>
> On 9/7/07, vincent poirriez <vi...@univ-valenciennes.fr>  
> wrote:
>>
>> Le 7 sept. 07 à 19:02, Jacob Danner a écrit :
>>
>>> Apache Forrest is needed for the documentation to build. You can
>>> further verify your environment setup with the 'bootstrap' and
>>> 'check.setup' targets.
>>
>> OK, i'll install it but (just to precise it is not checked)
>> $> ant check.setup
>> Buildfile: build.xml
>>
>> check.setup:
>>       [echo]
>>       [echo] java.home       = /System/Library/Frameworks/
>> JavaVM.framework/Versions/1.5.0/Home
>>       [echo] ant.home        = /sw/lib/ant
>>       [echo] ant.version     = Apache Ant version 1.7.0 compiled on
>> September 7 2007
>>       [echo] beehive.home    = /Users/poirriez/Library/Apache/ 
>> beehive/
>> trunk
>>       [echo] beehive.version = 1.1-SNAPSHOT
>>       [echo] ant.version.ok = true
>>       [echo]
>>       [echo] JSR 173 is installed correctly as /Users/poirriez/
>> Library/Apache/beehive/trunk/installed/jsr173/jsr173_1.0_api.jar
>>       [echo] junit.jar appears to be available since the class
>> "junit.framework.TestCase" was successfully loaded
>>       [echo] Tomcat appears to be available in /Users/poirriez/
>> Library/Apache/apache-tomcat-6.0.14/build
>>       [echo] manager role appears to be defined in /Users/poirriez/
>> Library/Apache/apache-tomcat-6.0.14/build/conf/tomcat-users.xml
>>
>> Vincent
>
> -- 
> Ce message a été vérifié par MailScanner
> pour des virus ou des polluriels et rien de
> suspect n'a été trouvé.
>


Re: pb with ant 1.7 and the svn source distrib

Posted by Carlin Rogers <ca...@gmail.com>.
Hi Vincent,

I think you would only need Forrest if you plan to build the docs for
the full distribution. I noticed from your check.setup output that
you're using Tomcat 6. Will be curious to hear how that goes.

Kind regards,
Carlin

On 9/7/07, vincent poirriez <vi...@univ-valenciennes.fr> wrote:
>
> Le 7 sept. 07 à 19:02, Jacob Danner a écrit :
>
> > Apache Forrest is needed for the documentation to build. You can
> > further verify your environment setup with the 'bootstrap' and
> > 'check.setup' targets.
>
> OK, i'll install it but (just to precise it is not checked)
> $> ant check.setup
> Buildfile: build.xml
>
> check.setup:
>       [echo]
>       [echo] java.home       = /System/Library/Frameworks/
> JavaVM.framework/Versions/1.5.0/Home
>       [echo] ant.home        = /sw/lib/ant
>       [echo] ant.version     = Apache Ant version 1.7.0 compiled on
> September 7 2007
>       [echo] beehive.home    = /Users/poirriez/Library/Apache/beehive/
> trunk
>       [echo] beehive.version = 1.1-SNAPSHOT
>       [echo] ant.version.ok = true
>       [echo]
>       [echo] JSR 173 is installed correctly as /Users/poirriez/
> Library/Apache/beehive/trunk/installed/jsr173/jsr173_1.0_api.jar
>       [echo] junit.jar appears to be available since the class
> "junit.framework.TestCase" was successfully loaded
>       [echo] Tomcat appears to be available in /Users/poirriez/
> Library/Apache/apache-tomcat-6.0.14/build
>       [echo] manager role appears to be defined in /Users/poirriez/
> Library/Apache/apache-tomcat-6.0.14/build/conf/tomcat-users.xml
>
> Vincent

Re: pb with ant 1.7 and the svn source distrib

Posted by vincent poirriez <vi...@univ-valenciennes.fr>.
Le 7 sept. 07 à 19:02, Jacob Danner a écrit :

> Apache Forrest is needed for the documentation to build. You can
> further verify your environment setup with the 'bootstrap' and
> 'check.setup' targets.

OK, i'll install it but (just to precise it is not checked)
$> ant check.setup
Buildfile: build.xml

check.setup:
      [echo]
      [echo] java.home       = /System/Library/Frameworks/ 
JavaVM.framework/Versions/1.5.0/Home
      [echo] ant.home        = /sw/lib/ant
      [echo] ant.version     = Apache Ant version 1.7.0 compiled on  
September 7 2007
      [echo] beehive.home    = /Users/poirriez/Library/Apache/beehive/ 
trunk
      [echo] beehive.version = 1.1-SNAPSHOT
      [echo] ant.version.ok = true
      [echo]
      [echo] JSR 173 is installed correctly as /Users/poirriez/ 
Library/Apache/beehive/trunk/installed/jsr173/jsr173_1.0_api.jar
      [echo] junit.jar appears to be available since the class  
"junit.framework.TestCase" was successfully loaded
      [echo] Tomcat appears to be available in /Users/poirriez/ 
Library/Apache/apache-tomcat-6.0.14/build
      [echo] manager role appears to be defined in /Users/poirriez/ 
Library/Apache/apache-tomcat-6.0.14/build/conf/tomcat-users.xml

Vincent

Re: pb with ant 1.7 and the svn source distrib

Posted by Jacob Danner <ja...@gmail.com>.
Apache Forrest is needed for the documentation to build. You can
further verify your environment setup with the 'bootstrap' and
'check.setup' targets.
Best of  Luck,
-Jacob Danner

On 9/7/07, vincent poirriez <vi...@univ-valenciennes.fr> wrote:
> Searching where is the pb, I cut and past the verification of the
> ant.version from
> beehive_imports.xml to build xml and it runs as a charm ?? till the
> following pb:
>
> ant clean deploy
> [..]
> BUILD FAILED
> /Users/poirriez/Library/Apache/beehive/trunk/build.xml:44: The
> following error occurred while executing this line:
> /Users/poirriez/Library/Apache/beehive/trunk/docs/build.xml:27: The
> following error occurred while executing this line:
> /Users/poirriez/Library/Apache/beehive/trunk/docs/forrest/build.xml:
> 35: Cannot find ${os.FORREST_HOME}/main/forrest.build.xml imported
> from /Users/poirriez/Library/Apache/beehive/trunk/docs/forrest/build.xml
>
>
> Le 7 sept. 07 à 18:39, vincent poirriez a écrit :
>
> > I 'd appreciate any hint to manage to install this correctly
> >
> > In the process to try to have beehive working with ant 1.7 I try to
> > compile beehive from the source distrib
> > available through svn:
> >
> > svn checkout https://svn.apache.org/repos/asf/beehive/trunk
> >
> > then I follow the process described in
> > http://svn.apache.org/repos/asf/beehive/trunk/BUILDING.txt
> >
> > evry thing is ok till
> > ant clean deploy
> >
> > /beehive-imports.xml:346: Newer Ant required.
> >
> > Building the project required Apache Ant 1.6.
> >
> > You are currently using the following apache-ant:
> >
> > ant.home    = /sw/lib/ant
> > ant.version = ${ant.version}
> >
> > You may obtain a newer version of ant from
> >
> > http://ant.apache.org/
> >
> > If you have Ant 1.6 installed on your system, you may need to
> > adjust your ANT_HOME environment variable.
> >
> > while
> > $ ant -version
> > Apache Ant version 1.7.0 compiled on September 7 2007
> > $which ant
> > /sw/bin/ant
> > $ echo $ANT_HOME
> > /sw/lib/ant
> >
> >
> > Many thanks in advance
> > Vincent Poirriez
> >
> >
> >
> > ********************************************************************
> > Enseignant-Chercheur HDR,
> > GR "RO Informatique"
> > Laboratoire d'Automatique, de Mécanique et d'Informatique,
> > industrielles et Humaines (LAMIH - UMR CNRS 8530)
> >
> > ********************************************************************
> > Attachments:
> >    MIME accepted
> >    Word deprecated, http://www.rfc1149.net/documents/whynotword
> > ********************************************************************
> >
> > Adresse Postale:
> > UVHC - Le Mont Houy
> > 59313 Valenciennes cedex 9 - FRANCE
> >
> > tel:: (33)3.27.51.19.53 - Fax: (33)3.27.51.19.40
> > skype: vincent.poirriez
> > courriel:  vincent POINT poirriez AT univ-valenciennes.fr
> > http://www.univ-valenciennes.fr/ROI/poirriez
> > ********************************************************************
> >
> >
> >
> >
> >
> > --
> > Ce message a été vérifié par MailScanner
> > pour des virus ou des polluriels et rien de
> > suspect n'a été trouvé.
> >
> >
>
>

Re: pb with ant 1.7 and the svn source distrib

Posted by vincent poirriez <vi...@univ-valenciennes.fr>.
Searching where is the pb, I cut and past the verification of the  
ant.version from
beehive_imports.xml to build xml and it runs as a charm ?? till the  
following pb:

ant clean deploy
[..]
BUILD FAILED
/Users/poirriez/Library/Apache/beehive/trunk/build.xml:44: The  
following error occurred while executing this line:
/Users/poirriez/Library/Apache/beehive/trunk/docs/build.xml:27: The  
following error occurred while executing this line:
/Users/poirriez/Library/Apache/beehive/trunk/docs/forrest/build.xml: 
35: Cannot find ${os.FORREST_HOME}/main/forrest.build.xml imported  
from /Users/poirriez/Library/Apache/beehive/trunk/docs/forrest/build.xml


Le 7 sept. 07 à 18:39, vincent poirriez a écrit :

> I 'd appreciate any hint to manage to install this correctly
>
> In the process to try to have beehive working with ant 1.7 I try to  
> compile beehive from the source distrib
> available through svn:
>
> svn checkout https://svn.apache.org/repos/asf/beehive/trunk
>
> then I follow the process described in
> http://svn.apache.org/repos/asf/beehive/trunk/BUILDING.txt
>
> evry thing is ok till
> ant clean deploy
>
> /beehive-imports.xml:346: Newer Ant required.
>
> Building the project required Apache Ant 1.6.
>
> You are currently using the following apache-ant:
>
> ant.home    = /sw/lib/ant
> ant.version = ${ant.version}
>
> You may obtain a newer version of ant from
>
> http://ant.apache.org/
>
> If you have Ant 1.6 installed on your system, you may need to
> adjust your ANT_HOME environment variable.
>
> while
> $ ant -version
> Apache Ant version 1.7.0 compiled on September 7 2007
> $which ant
> /sw/bin/ant
> $ echo $ANT_HOME
> /sw/lib/ant
>
>
> Many thanks in advance
> Vincent Poirriez
>
>
>
> ********************************************************************
> Enseignant-Chercheur HDR,
> GR "RO Informatique"
> Laboratoire d'Automatique, de Mécanique et d'Informatique,
> industrielles et Humaines (LAMIH - UMR CNRS 8530)
>
> ********************************************************************
> Attachments:
>    MIME accepted
>    Word deprecated, http://www.rfc1149.net/documents/whynotword
> ********************************************************************
>
> Adresse Postale:
> UVHC - Le Mont Houy
> 59313 Valenciennes cedex 9 - FRANCE
>
> tel:: (33)3.27.51.19.53 - Fax: (33)3.27.51.19.40
> skype: vincent.poirriez
> courriel:  vincent POINT poirriez AT univ-valenciennes.fr
> http://www.univ-valenciennes.fr/ROI/poirriez
> ********************************************************************
>
>
>
>
>
> -- 
> Ce message a été vérifié par MailScanner
> pour des virus ou des polluriels et rien de
> suspect n'a été trouvé.
>
>


Re: pb with ant 1.7 and the svn source distrib

Posted by vincent poirriez <vi...@univ-valenciennes.fr>.
Thanks for the rapid answer, but it does not work

  the given link is not to build beehive, it s to use the beehive  
binary distribution with ant 1.7

  I have tried that before, but it does not answer the pb as some  
code in ant/beehive-tools.xml is buggy
(namely the macro build-webservices)

So it should be possible to build beehive from scratch and with a  
fresh installation of the tools.

Vincent

Le 7 sept. 07 à 19:00, Jacob Danner a écrit :

> Hi Vincent,
> The steps to build using Ant 1.7 are different than those in the
> BUILDING.txt file as the project does not appear to have upgraded yet.
> To build using 1.7 try the info on the wiki.
> http://wiki.apache.org/beehive/Beehive_and_Ant_1%2e7
> Hope this helps,
> -Jacob Danner
>
> On 9/7/07, vincent poirriez <vi...@univ-valenciennes.fr>  
> wrote:
>> I 'd appreciate any hint to manage to install this correctly
>>
>> In the process to try to have beehive working with ant 1.7 I try to
>> compile beehive from the source distrib
>> available through svn:
>>
>> svn checkout https://svn.apache.org/repos/asf/beehive/trunk
>>
>> then I follow the process described in
>> http://svn.apache.org/repos/asf/beehive/trunk/BUILDING.txt
>>
>> evry thing is ok till
>> ant clean deploy
>>
>> /beehive-imports.xml:346: Newer Ant required.
>>
>> Building the project required Apache Ant 1.6.
>>
>> You are currently using the following apache-ant:
>>
>> ant.home    = /sw/lib/ant
>> ant.version = ${ant.version}
>>
>> You may obtain a newer version of ant from
>>
>> http://ant.apache.org/
>>
>> If you have Ant 1.6 installed on your system, you may need to
>> adjust your ANT_HOME environment variable.
>>
>> while
>> $ ant -version
>> Apache Ant version 1.7.0 compiled on September 7 2007
>> $which ant
>> /sw/bin/ant
>> $ echo $ANT_HOME
>> /sw/lib/ant
>>
>>
>> Many thanks in advance
>> Vincent Poirriez
>>
>>
>>
>> ********************************************************************
>> Enseignant-Chercheur HDR,
>> GR "RO Informatique"
>> Laboratoire d'Automatique, de Mécanique et d'Informatique,
>> industrielles et Humaines (LAMIH - UMR CNRS 8530)
>>
>> ********************************************************************
>> Attachments:
>>     MIME accepted
>>     Word deprecated, http://www.rfc1149.net/documents/whynotword
>> ********************************************************************
>>
>> Adresse Postale:
>> UVHC - Le Mont Houy
>> 59313 Valenciennes cedex 9 - FRANCE
>>
>> tel:: (33)3.27.51.19.53 - Fax: (33)3.27.51.19.40
>> skype: vincent.poirriez
>> courriel:  vincent POINT poirriez AT univ-valenciennes.fr
>> http://www.univ-valenciennes.fr/ROI/poirriez
>> ********************************************************************
>>
>>
>>
>>
>>
>
> -- 
> Ce message a été vérifié par MailScanner
> pour des virus ou des polluriels et rien de
> suspect n'a été trouvé.
>
>


Re: pb with ant 1.7 and the svn source distrib

Posted by Jacob Danner <ja...@gmail.com>.
Hi Vincent,
The steps to build using Ant 1.7 are different than those in the
BUILDING.txt file as the project does not appear to have upgraded yet.
To build using 1.7 try the info on the wiki.
http://wiki.apache.org/beehive/Beehive_and_Ant_1%2e7
Hope this helps,
-Jacob Danner

On 9/7/07, vincent poirriez <vi...@univ-valenciennes.fr> wrote:
> I 'd appreciate any hint to manage to install this correctly
>
> In the process to try to have beehive working with ant 1.7 I try to
> compile beehive from the source distrib
> available through svn:
>
> svn checkout https://svn.apache.org/repos/asf/beehive/trunk
>
> then I follow the process described in
> http://svn.apache.org/repos/asf/beehive/trunk/BUILDING.txt
>
> evry thing is ok till
> ant clean deploy
>
> /beehive-imports.xml:346: Newer Ant required.
>
> Building the project required Apache Ant 1.6.
>
> You are currently using the following apache-ant:
>
> ant.home    = /sw/lib/ant
> ant.version = ${ant.version}
>
> You may obtain a newer version of ant from
>
> http://ant.apache.org/
>
> If you have Ant 1.6 installed on your system, you may need to
> adjust your ANT_HOME environment variable.
>
> while
> $ ant -version
> Apache Ant version 1.7.0 compiled on September 7 2007
> $which ant
> /sw/bin/ant
> $ echo $ANT_HOME
> /sw/lib/ant
>
>
> Many thanks in advance
> Vincent Poirriez
>
>
>
> ********************************************************************
> Enseignant-Chercheur HDR,
> GR "RO Informatique"
> Laboratoire d'Automatique, de Mécanique et d'Informatique,
> industrielles et Humaines (LAMIH - UMR CNRS 8530)
>
> ********************************************************************
> Attachments:
>     MIME accepted
>     Word deprecated, http://www.rfc1149.net/documents/whynotword
> ********************************************************************
>
> Adresse Postale:
> UVHC - Le Mont Houy
> 59313 Valenciennes cedex 9 - FRANCE
>
> tel:: (33)3.27.51.19.53 - Fax: (33)3.27.51.19.40
> skype: vincent.poirriez
> courriel:  vincent POINT poirriez AT univ-valenciennes.fr
> http://www.univ-valenciennes.fr/ROI/poirriez
> ********************************************************************
>
>
>
>
>