You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Pantvaidya, Vishwajit" <vp...@selectica.com> on 2007/08/14 23:55:50 UTC

[AXIS2] Service archiver eclipse plugin changes ANT_HOME, causes ant problems

I installed the Axis2 service archiver plugin into my Eclipse - and
after that saw that my ant builds stopped working. I saw that was
because, it had in the process changed the eclipse ant_home to
C:\eclipse\plugins\Axis2_Service_Archiver_1.3.0\.... ANT_HOME expects a
lib directory within the ANT_HOME - this violates that and therefore
seems to be an incorrect setting. Is this a bug?

 

I restored the ant_home to eclipse ant folder and then my builds started
to work again.


Re: [AXIS2] Service archiver eclipse plugin changes ANT_HOME, causes ant problems

Posted by Lahiru Sandakith <sa...@gmail.com>.
Hi

According to the eclipse framework we include the ant lib in the plugin lib
directory and instruct the plugin to get it form there using plugin.xml All
the other things are done by eclipse framework.

     <library name="lib/ant-@ant.version@.jar">
         <export name="*"/>
      </library>

Thanks

Lahiru

On 8/15/07, Pantvaidya, Vishwajit <vp...@selectica.com> wrote:
>
>  A correction - the service archiver folder does have a lib folder but not
> all the ant jars.
>
>
>   ------------------------------
>
> *From:* Pantvaidya, Vishwajit [mailto:vpantvai@selectica.com]
> *Sent:* Tuesday, August 14, 2007 2:56 PM
> *To:* axis-user@ws.apache.org
> *Subject:* [AXIS2] Service archiver eclipse plugin changes ANT_HOME,
> causes ant problems
>
>
>
> I installed the Axis2 service archiver plugin into my Eclipse – and after
> that saw that my ant builds stopped working. I saw that was because, it had
> in the process changed the eclipse ant_home to C:\eclipse\plugins\Axis2_Service_Archiver_1.3.0\....
> ANT_HOME expects a lib directory within the ANT_HOME – this violates that
> and therefore seems to be an incorrect setting. Is this a bug?
>
>
>
> I restored the ant_home to eclipse ant folder and then my builds started
> to work again.
>



-- 
Thanks
Lahiru Sandakith

http://sandakith.wordpress.com/
GPG Key Fingerprint : 8CD8 68E0 4CBC 75CB 25BC  1AB1 FE5E 7464 1F01 9A0F

RE: [AXIS2] Service archiver eclipse plugin changes ANT_HOME, causes ant problems

Posted by "Pantvaidya, Vishwajit" <vp...@selectica.com>.
A correction - the service archiver folder does have a lib folder but
not all the ant jars.

 

________________________________

From: Pantvaidya, Vishwajit [mailto:vpantvai@selectica.com] 
Sent: Tuesday, August 14, 2007 2:56 PM
To: axis-user@ws.apache.org
Subject: [AXIS2] Service archiver eclipse plugin changes ANT_HOME,
causes ant problems

 

I installed the Axis2 service archiver plugin into my Eclipse - and
after that saw that my ant builds stopped working. I saw that was
because, it had in the process changed the eclipse ant_home to
C:\eclipse\plugins\Axis2_Service_Archiver_1.3.0\.... ANT_HOME expects a
lib directory within the ANT_HOME - this violates that and therefore
seems to be an incorrect setting. Is this a bug?

 

I restored the ant_home to eclipse ant folder and then my builds started
to work again.