You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by David Crossley <cr...@indexgeo.com.au> on 2003/12/21 09:53:20 UTC

Re: cvs commit: xml-forrest/tools/ant/lib

> antonio     2003/12/19 23:24:58
>   Log:
>   Update to Apache Ant 1.6.0
>   
<snip/>
>   Index: ant
>   ===================================================================
>   RCS file: /home/cvs//xml-forrest/tools/ant/bin/ant,v
>   retrieving revision 1.5
>   retrieving revision 1.6
>   diff -u -r1.5 -r1.6
>   --- ant	4 Oct 2003 04:55:21 -0000	1.5
>   +++ ant	20 Dec 2003 07:24:57 -0000	1.6
>
>    # load system-wide ant configuration
>   -if [ -f "/etc/forrest.conf" ] ; then 
>   -  . /etc/forrest.conf
>   +if [ -f "/etc/ant.conf" ] ; then
>   +  . /etc/ant.conf
>    fi
>    
>   @@ -18,8 +18,8 @@
>    
>    # load user ant configuration
>   -if [ -f "$HOME/.forrestrc" ] ; then 
>   -  . "$HOME/.forrestrc"
>   +if [ -f "$HOME/.antrc" ] ; then
>   +  . "$HOME/.antrc"
>    fi

Thanks for upgrading Ant Antonio. However i noticed some oddities.

Are these changes (and some in other files) deliberate or
just some side-effect of the Ant upgrade.

--David




Re: cvs commit: xml-forrest/tools/ant/lib

Posted by David Crossley <cr...@indexgeo.com.au>.
Antonio Gallardo wrote:
> David Crossley dijo:
> > I am also worried about the same situation with Cocoon. Due to
> > the dos2unix problem there, we cannot tell what the changes were.
> 
> Fixing done. I also checked the ant files in Cocoon and everything was
> well there. In Cocoon case there was not changes from the original ant
> files.

Many thanks for verifying this.

> BTW, why we need special files for forrest?

Not sure. I do not use it myself, but others might.
Using find and grep i see no other reference to "forrestrc".

However 'cvs log ant' gives a clue ...
----------------------------
revision 1.4
date: 2003/09/17 10:02:39;  author: jefft;  state: Exp;  lines: +4 -4
Don't source /etc/antrc and ~/.antrc, as they may contain stuff that
breaks Forrest (in jpackage-derived RPMs).  Thanks to Eric BURGHARD
----------------------------

Which lead to:
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=forrest-dev@xml.apache.org&msgId=1039791

--David




Re: cvs commit: xml-forrest/tools/ant/lib

Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
David Crossley dijo:
> I am also worried about the same situation with Cocoon. Due to
> the dos2unix problem there, we cannot tell what the changes were.

Fixing done. I also checked the ant files in Cocoon and everything was
well there. In Cocoon case there was not changes from the original ant
files.

BTW, why we need special files for forrest?

Best Regards,

Antonio Gallardo


Re: cvs commit: xml-forrest/tools/ant/lib

Posted by David Crossley <cr...@indexgeo.com.au>.
Antonio Gallardo wrote:
> David Crossley dijo:
<snip/>
> > Thanks for upgrading Ant Antonio. However i noticed some oddities.
> >
> > Are these changes (and some in other files) deliberate or
> > just some side-effect of the Ant upgrade.
> 
> It looks to be a side efect. Again I just copy the files. This time the
> files I already did for Cocoon.
> 
> Now I note the sideefect I accidentally introduced between .forrestrc and
> .antrc file. I will fix this back. Sorry for the caused problem.

Ah, that is what i suspected. Please note that there may be other
changes to the Forrest ant scripts that were also not intended.

I am also worried about the same situation with Cocoon. Due to
the dos2unix problem there, we cannot tell what the changes were.

--David



Re: cvs commit: xml-forrest/tools/ant/lib

Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
David Crossley dijo:
>> antonio     2003/12/19 23:24:58
>>   Log:
>>   Update to Apache Ant 1.6.0
>>
> <snip/>
>>   Index: ant
>>   ===================================================================
>>   RCS file: /home/cvs//xml-forrest/tools/ant/bin/ant,v
>>   retrieving revision 1.5
>>   retrieving revision 1.6
>>   diff -u -r1.5 -r1.6
>>   --- ant	4 Oct 2003 04:55:21 -0000	1.5
>>   +++ ant	20 Dec 2003 07:24:57 -0000	1.6
>>
>>    # load system-wide ant configuration
>>   -if [ -f "/etc/forrest.conf" ] ; then
>>   -  . /etc/forrest.conf
>>   +if [ -f "/etc/ant.conf" ] ; then
>>   +  . /etc/ant.conf
>>    fi
>>
>>   @@ -18,8 +18,8 @@
>>
>>    # load user ant configuration
>>   -if [ -f "$HOME/.forrestrc" ] ; then
>>   -  . "$HOME/.forrestrc"
>>   +if [ -f "$HOME/.antrc" ] ; then
>>   +  . "$HOME/.antrc"
>>    fi
>
> Thanks for upgrading Ant Antonio. However i noticed some oddities.
>
> Are these changes (and some in other files) deliberate or
> just some side-effect of the Ant upgrade.

Hi David:

It looks to be a side efect. Again I just copy the files. This time the
files I already did for Cocoon.

Now I note the sideefect I accidentally introduced between .forrestrc and
.antrc file. I will fix this back. Sorry for the caused problem.

Best Regards,

Antonio Gallardo.