[Anthill] Ant 1.6.2
Scott Stirling
scottstirling at gmail.com
Sat Jul 2 05:30:12 CDT 2005
Correction -- when I said "CVS version adapter," that was incorrect.
The problem we had was with the Urbancode version adapter (the default
one), which uses a version.txt file in CVS. See? I still get them
mixed up.
Scott Stirling
Framingham, MA
On 7/2/05, Scott Stirling <scottstirling at gmail.com> wrote:
> Hello,
>
> We are using the latest Anthill OS with Ant 1.6.5 on Windows and it
> works fine. We've used this combo both with JDK 1.4.x and JDK 5.
>
> Make sure you set the anthill.home property in
> anthill.anthill.properties in your Anthill user's ${user.home}. This
> file should be there with the right value in it if you went to the
> main anthill web page and set Anthill home after your upgrade.
>
> We had a circular problem with version.txt updates and change
> detection causing "extra" builds with the CVS version adapter on 1.8,
> but have worked around them by using the PropertyFile version adapter
> for continuous builds and CVS adapter only for nightly and release
> builds.
>
> Best,
> Scott S
>
>
> On 7/1/05, Dabiri, Ebby <edabiri at nexant.com> wrote:
> >
> >
> > Hi,
> > I was wondering if anthill-1.8.0 is supporting ant1.6.2 . I used to use
> > ant1.5.1 and now I am trying to upgrade to ant1.6.2 but with no success.
> >
> > thank you
> > Ebby
> >
> > -----Original Message-----
> > From: Mirza Abbas Raza [mailto:abbasrazam at yahoo.com]
> > Sent: Thursday, June 30, 2005 8:49 AM
> > To: Brian Dellisanti
> > Cc: Anthill user list
> > Subject: Re: [Anthill] ant issues: can't read properties file, exec task
> > doesn't work
> >
> >
> > Thanks, Brian. For now, I defined an environmental
> > variable for anthill home and then I am deriving my
> > paths off of it.
> >
> > --- Brian Dellisanti <bdd at urbancode.com> wrote:
> >
> > > Eric and I looked into the problem more deeply
> > > yesterday and I we have a
> > > fix that may solve your problem without your having
> > > to hardcode paths. I
> > > should be able to get that out to you after I finish
> > > tying up a few
> > > loose ends.
> > >
> > > On Wed, 2005-06-29 at 15:39 -0700, Mirza Abbas Raza
> > > wrote:
> > > > Thanks a bunch, Brian! Hard-coding the path
> > > worked. I
> > > > would play around a bit to get a better way to do.
> > > >
> > > > --- Brian Dellisanti <bdd at urbancode.com> wrote:
> > > >
> > > > > In your barebones project, did you try
> > > hardcoding
> > > > > the absolute path of
> > > > > your test.bat? Based on what I have to look at,
> > > I
> > > > > agree with Eric that
> > > > > it's a working directory problem. According to
> > > the
> > > > > ant manual, removing
> > > > > the basedir attribute from the project tag will
> > > > > cause ant to compute
> > > > > relative paths from the location of the
> > > build.xml
> > > > > file. Perhaps that
> > > > > will help.
> > > > >
> > > > > On Wed, 2005-06-29 at 12:40 -0700, Mirza Abbas
> > > Raza
> > > > > wrote:
> > > > > > Btw, Eric, I created a very barebone project
> > > > > > containing only a build.xml file and a
> > > test.bat
> > > > > file
> > > > > > sitting the root directory. I try to execute
> > > this
> > > > > > test.bat and I get the same exception. :(
> > > > > >
> > > > > > --- Eric Minick <etm at urbancode.com> wrote:
> > > > > >
> > > > > > > Error 2 on windows is File Not Found. Looks
> > > like
> > > > > you
> > > > > > > have a couple of
> > > > > > > files that Anthill isn't finding. Perhaps
> > > these
> > > > > are
> > > > > > > both working directory
> > > > > > > woes. Does this command work from the
> > > > > commandline if
> > > > > > > you run the build
> > > > > > > file from a different directory?
> > > > > > >
> > > > > > > -- Eric
> > > > > > >
> > > > > > > > The exception printed for the second issue
> > > is:
> > > > > > > >
> > > > > > > > BUILD FAILED
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> > file:D:/projects/anthill/<namehidden>/src/build.xml:311:
> > > > > > > > Execute failed: java.io.IOException:
> > > > > > > CreateProcess:
> > > > > > > > ..\bin\stopManagedService.bat error=2
> > > > > > > >
> > > > > > > > --- Mirza Abbas Raza
> > > <abbasrazam at yahoo.com>
> > > > > wrote:
> > > > > > > >
> > > > > > > >> All,
> > > > > > > >>
> > > > > > > >> Looks like I am doing all wrong things
> > > today.
> > > > > > > >>
> > > > > > > >> My environment:
> > > > > > > >> Anthill: anthill os 1.8.0.264
> > > > > > > >> Ant: 1.5.3
> > > > > > > >> Servlet container: Tomcat 5.0.28
> > > > > > > >> OS: Win 2k
> > > > > > > >>
> > > > > > > >> Issues:
> > > > > > > >> - anthill doesn't read build.properties.
> > > > > > > Following
> > > > > > > >> is
> > > > > > > >> a snippet from my build.xml.
> > > > > > > >> <target name="anthill-build">
> > > > > > > >> <property file="build.properties"/>
> > > > > > > >> <echo>${weblogic.domains}</echo>
> > > > > > > >> The property being echoed is present in
> > > the
> > > > > > > >> build.properties file. Anthill doesn't
> > > echo
> > > > > the
> > > > > > > >> value
> > > > > > > >> of the property. It just prints out the
> > > text
> > > > > > > literal
> > > > > > > >> in echo tags. When I run the same target
> > > > > manually
> > > > > > > >> from
> > > > > > > >> with anthill, the property value is
> > > printed
> > > > > out.
> > > > > > > :(
> > > > > > > >> At
> > > > > > > >> the same time, in the same target, I have
> > > a
> > > > > copy
> > > > > > > >> task
> > > > > > > >> call which uses filtersfile and it works.
> > > It
> > > > > > > >> replaces
> > > > > > > >> the necessary placeholders. Seems weird.
> > > > > > > >>
> > > > > > > >> - ant complains running <exec> task.
> > > Again a
> > > > > > > snippet
> > > > > > > >> from my file.
> > > > > > > >> <exec
> > > executable="startManagedService.bat"
> > > > > > > >> os="Windows
> > > > > > > >> 2000"/>
> > > > > > > >> Again the batch file runs fine if I run
> > > > > manually.
> > > > > > > :(
> > > > > > > >>
> > > > > > > >> I would really appreciate any input.
> > > > > > > >>
> > > > > > > >> Thanks.
> > > > > > > >>
> > > > > > > >>
> > > > > _______________________________________________
> > > > > > > >> Anthill mailing list
> > > > > > > >> Anthill at lists.urbancode.com
> > > > > > > >>
> > > > > > >
> > > > >
> > > http://lists.urbancode.com/mailman/listinfo/anthill
> > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > _______________________________________________
> > > > > > > > Anthill mailing list
> > > > > > > > Anthill at lists.urbancode.com
> > > > > > > >
> > > > > > >
> > > > >
> > > http://lists.urbancode.com/mailman/listinfo/anthill
> > > > > > > >
> > > > > > >
> > > > > > >
> > > _______________________________________________
> > > > > > > Anthill mailing list
> > > > > > > Anthill at lists.urbancode.com
> > > > > > >
> > > > >
> > > http://lists.urbancode.com/mailman/listinfo/anthill
> > > > > > >
> > > > > >
> > > > > >
> > > _______________________________________________
> > > > > > Anthill mailing list
> > > > > > Anthill at lists.urbancode.com
> > > > > >
> > > > >
> > > http://lists.urbancode.com/mailman/listinfo/anthill
> > > > >
> > > > >
> > > >
> > >
> > >
> >
> > _______________________________________________
> > Anthill mailing list
> > Anthill at lists.urbancode.com
> > http://lists.urbancode.com/mailman/listinfo/anthill
> > _______________________________________________
> > Anthill mailing list
> > Anthill at lists.urbancode.com
> > http://lists.urbancode.com/mailman/listinfo/anthill
> >
> >
> >
>
More information about the Anthill
mailing list