[Anthill] Ant 1.6.2

Dabiri, Ebby edabiri at nexant.com
Fri Jul 1 19:40:14 CDT 2005


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill/attachments/20050701/ff5f2df1/attachment-0002.htm


More information about the Anthill mailing list