ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob, Anil - MWT" <Jacob.A...@menlolog.com>
Subject RE: ant UI
Date Wed, 22 Dec 2004 01:25:03 GMT
Where exactly are you updating the properties? Are you echoing it or
writing it into a file?

Anil 

-----Original Message-----
From: Radha Sangal [mailto:Radha.Sangal@pega.com] 
Sent: Tuesday, December 21, 2004 2:20 PM
To: Ant Users List
Subject: RE: ant UI

-D option is not working !!
I gave
"cmd /c ant -buildfile automated_CvsTagDiff.xml CVSDiffReport -D
dev.build1=Build_0402_0012  dev.build2=Build_0402_0018 " in bat file And
"<property name="DevBuild1" value="$(dev.build1)"/>" in ant script.

But the result does not show values updated in properties. ;-(

-----Original Message-----
From: Jacob, Anil - MWT [mailto:Jacob.Anil@menlolog.com]
Sent: Monday, December 20, 2004 6:17 PM
To: Ant Users List
Subject: RE: ant UI

Instead of hardcoding the value of the Build_0402_0012, you can actually
pass it as a commandline paramters -Ddev.build=Build_0402_0012. Then the
build file would look like this <property name="DevBuild1"
value="${dev.build}"/>

When ant runs it picks up the value given on the commandline.

For a UI. You can actually write a small perl script or cgi script to
execute ant over a browser, off course you need a web server also. Works
great.

Anil


-----Original Message-----
From: Radha Sangal [mailto:Radha.Sangal@pega.com]
Sent: Monday, December 20, 2004 11:48 AM
To: Ant Users List
Subject: RE: ant UI

Look at the bottom of the second link-ed page. I need to finally create
such UI where we enter filename in a text box and get results.

Meanwhile, what I am looking for is a way to build UI to connect to ant
script for providing inputs to its properties. To make it clear:

I have <property name="DevBuild1" value="Build_0402_0009"/>
		<property name="DevBuild2" value="Build_0402_0012"/> in
my ant script  I have to manually go inside the script and change these
properties for diff builds. I have to build a UI for it so that when I
enter build name there, it updates the property in ant script.

-----Original Message-----
From: Jacob Kjome [mailto:hoju@visi.com]
Sent: Friday, December 17, 2004 1:17 AM
To: Ant Users List
Subject: Re: ant UI

At 04:30 PM 12/16/2004 -0500, you wrote:
 >Does Ant come with any user interface from where we can pass
parameters  >and see results on web explorer?

Use an XSLT.  Add something the following to your build file....

<?xml-stylesheet type="text/xsl" href="./ant2html.xsl"?>

After that, just create (or find it on the net) the stylesheet and open
the build.xml file in IE or Mozilla.  You should see a moderately decent
GUI

view of your build file.

See:
http://www-106.ibm.com/developerworks/xml/library/x-antxsl/
or
http://cvs.prevayler.codehaus.org/prevayler/ant2html.xsl

Note: it is only "text/xsl" because IE needs that value and it doesn't
break Mozilla, but there is no official mime-type named "text/xsl".

BTW, if it is graphical view of the dependencies that you are looking
for, try something like vizant.


Jake 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional
commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional
commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional
commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional
commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message