ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Castrianni <Shawn.Castria...@halliburton.com>
Subject RE: ivy.checksums property
Date Wed, 19 Mar 2008 17:28:44 GMT
IVY-780

---
Shawn Castrianni


-----Original Message-----
From: Xavier Hanin [mailto:xavier.hanin@gmail.com]
Sent: Wednesday, March 19, 2008 12:13 PM
To: ivy-user@ant.apache.org
Subject: Re: ivy.checksums property

Yes, submit a bug, maybe it will draw more attention and get more opinion.

Xavier

On Wed, Mar 19, 2008 at 5:45 PM, Shawn Castrianni <
Shawn.Castrianni@halliburton.com> wrote:

> Should I submit a bug so this can get fixed?
>
> ---
> Shawn Castrianni
>
>
> -----Original Message-----
> From: Xavier Hanin [mailto:xavier.hanin@gmail.com]
> Sent: Tuesday, March 18, 2008 4:31 AM
> To: ivy-user@ant.apache.org
> Subject: Re: ivy.checksums property
>
> On Mon, Mar 17, 2008 at 7:03 PM, Shawn Castrianni <
> Shawn.Castrianni@halliburton.com> wrote:
>
> > I am sure I didn't misspell it since I just copied and paste it from the
> > master file to the specific settings file.  Below are my two settings
> files,
> > one is master and one is specific that includes the master.  I currently
> > have the checksums in the specific because it doesn't work in the
> master.
>
> Now that I check the code again, it seems that any property defined in an
> included file is not available in the file in which it has been included.
> As
> long as we have an history for the class (Jan 24, 2007) it has been like
> that. I'm not sure why though, I see no added value in preventing included
> file to set properties in the including files.
>
> Do anybody see any reason behind this? Would it hurt to change that?
>
> Xavier
>
>
> >
> >
> >
> > Here is my master file:
> >
> > ===============================================
> > <?xml version="1.0" encoding="UTF-8"?>
> > <ivysettings>
> >        <property name="ivy.cacheDir.root" value="${user.home
> }/.ivy2/cache"
> > override="true"/>
> >        <settings defaultResolver="published" defaultBranch="${
> > lgcbuild.module.defaultBranch}"/>
> >        <caches defaultCacheDir="${ivy.cacheDir.root}/${env.CACHE_DIR}-${
> > env.BUILD_REVISION}" ivyPattern="${lgcbuild.releaseName
> }/[module]/[branch]/[revision]/[type]/[artifact].[ext]"
> > artifactPattern="${lgcbuild.releaseName
> > }/[module]/[branch]/[revision]/[type]/[artifact].[ext]"/>
> >        <resolvers>
> >                <filesystem name="published.repository">
> >                        <ivy pattern="${ivy.published.root}/${
> > lgcbuild.releaseName
> > }/[module]/[branch]/[revision]/[type]/[artifact].[ext]"/>
> >                        <artifact pattern="${ivy.published.root}/${
> > lgcbuild.releaseName
> > }/[module]/[branch]/[revision]/[type]/[platform]/[artifact].[ext]"/>
> >                </filesystem>
> >                <filesystem name="published.local">
> >                        <ivy pattern="${env.PUBLISH_LOCAL_ROOT}/${
> > lgcbuild.releaseName
> > }/[module]/[branch]/[revision]/[type]/[artifact].[ext]"/>
> >                        <artifact pattern="${env.PUBLISH_LOCAL_ROOT}/${
> > lgcbuild.releaseName
> > }/[module]/[branch]/[revision]/[type]/[platform]/[artifact].[ext]"/>
> >                </filesystem>
> >                <chain name="published" returnFirst="true">
> >                        <resolver ref="published.local"/>
> >                        <resolver ref="published.repository"/>
> >                </chain>
> >        </resolvers>
> >        <statuses default="development">
> >                <status name="release" integration="true"/>
> >                <status name="testing" integration="true"/>
> >                <status name="development" integration="true"/>
> >        </statuses>
> > </ivysettings>
> > ===============================================
> >
> >
> > Here is my specific settings file:
> >
> > ===============================================
> > <?xml version="1.0" encoding="UTF-8"?>
> > <ivysettings>
> >        <property name="lgcbuild.releaseName" value="R5000"
> > override="true"/>
> >        <property name="lgcbuild.module.defaultBranch"
> value="branch_R5000"
> > override="true"/>
> >        <modules>
> >                <module organisation="XXXXXX" name="carto"
> branch="HEAD"/>
> >        </modules>
> >        <!-- Must have this here instead of master file for some
> reason.-->
> >        <property name="ivy.checksums" value="" override="true"/>
> >        <include file="${env.LGCBUILD}/ivy/release_specs/ivy-master.xml
> "/>
> > </ivysettings>
> > ===============================================
> >
> > ---
> > Shawn Castrianni
> > CM Chief Architect
> > Landmark
> > Halliburton Drilling, Evaluation and Digital Solutions Building 2
> > 2101 City West Blvd.
> > Houston, TX  77042
> > Work:  713-839-3086
> > Cell:  832-654-0888
> > Fax:  713-839-2758
> >
> >
> > -----Original Message-----
> > From: Xavier Hanin [mailto:xavier.hanin@gmail.com]
> > Sent: Monday, March 17, 2008 12:28 PM
> > To: ivy-user@ant.apache.org
> > Subject: Re: ivy.checksums property
> >
> > On Fri, Mar 14, 2008 at 9:28 PM, Shawn Castrianni
> > <Shawn.Castrianni@halliburton.com> wrote:
> > > If I set ivy.checksums in my ivy settings file, it works fine.
>  However,
> > if I have ivy.checksums inside a master settings file that I include
> from
> > my settings file, it gets ignored.  Any ideas?  Bug?
> >
> > No idea. I've quickly checked the code, and I see no reason why it
> > would get ignored. Are you sure you haven't mispelled it? Could you
> > provide your settings files?
> >
> > Xavier
> > >
> > >  ---
> > >  Shawn Castrianni
> > >  CM Chief Architect
> > >  Landmark
> > >  Halliburton Drilling, Evaluation and Digital Solutions Building 2
> > >  2101 City West Blvd.
> > >  Houston, TX  77042
> > >  Work:  713-839-3086
> > >  Cell:  832-654-0888
> > >  Fax:  713-839-2758
> > >
> > >
>  ----------------------------------------------------------------------
> > >  This e-mail, including any attached files, may contain confidential
> and
> > privileged information for the sole use of the intended recipient.  Any
> > review, use, distribution, or disclosure by others is strictly
> prohibited.
> >  If you are not the intended recipient (or authorized to receive
> information
> > for the intended recipient), please contact the sender by reply e-mail
> and
> > delete all copies of this message.
> >
> >
> >
> > --
> > Xavier Hanin - Independent Java Consultant
> > http://xhab.blogspot.com/
> > http://ant.apache.org/ivy/
> > http://www.xoocode.org/
> >
> > ----------------------------------------------------------------------
> > This e-mail, including any attached files, may contain confidential and
> > privileged information for the sole use of the intended recipient.  Any
> > review, use, distribution, or disclosure by others is strictly
> prohibited.
> >  If you are not the intended recipient (or authorized to receive
> information
> > for the intended recipient), please contact the sender by reply e-mail
> and
> > delete all copies of this message.
> >
>
>
>
> --
> Xavier Hanin - Independent Java Consultant
> http://xhab.blogspot.com/
> http://ant.apache.org/ivy/
> http://www.xoocode.org/
>



--
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://ant.apache.org/ivy/
http://www.xoocode.org/

Mime
View raw message