Java Mailing List Archive

http://www.junlu.com/

Subjects
Home
mod jk2 https
Donation of JAXP 1 3 Sources to Apache
R annoyances
RE: Finding out when the aspnet admin worker process has recycled
Favorite Linux Distribution
eigenvalues of a circulant matrix
Apache Install
Reachin apache from outside
Ant should have an ext directory
Warning: Documentroot doesn 't exist
Can this be Done?
RE: Multilanguage Application
RE: Simple Question On setting up Sub Domain site
Lack of independence in anova()
How to close connection instead of sending 403?
winning the case for ANT
Re: adding php
New Ant GUI 'Ant 's Nest '
Narrowing Down A Strange Problem
Ant Task: sshexec
R Graph Gallery : categorization of the graphs
I 've been hacked, I need some help please
RE: Anyone working with DotNetNuke?
RE: Exception Handling Opinion
hex format
RE: IIS stopped working :(
<for > Build Failed:problem
RE: Separation of Objects from Logic
RE: Tracking pages with long request execution time
sending email to multiple destination
Web Site
ant UI
Easy cut & paste from Excel to R?
Win32 Apache Restart
Improving Tasks
HELP! PLEASE!
RE: Adding Controls to a Page
read table
RE: ASPNET account doesn 't exist!
Best way to uninstall Apache2 on red hat
from win to linux how to web page
XMLParseException changes and creation of XMLLocator2
Re Post: rewrite backslash to forward slash
Target or macrodef?
Page display problem XPSP2
Authentication problems
Dynamic Dictionary Data Type?
Newbie unable access my www from outside
off topic question: Latex and R in industries
Conflict between xtable and Hmisc when using Sweave?
Very old problem without any new solution
mod rewrite help
Basic Authentication question
RE: Code Security
calling ant from java program
prevent double signing
Re: Controlling Copy/Paste/Print
Using R to illustrate the Central Limit Theorem
web server slow too much slow
access to user directories
Links
Home
Official R Project Site
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
ant UI

ant UI

2004-12-22       - By Charles Hudak
Reply:     <<     11     12     13     14     15     16     17     18     19     20  

<shrug>

We have over a dozen projects with interproject dependancies.

Anthill is able to deal with interproject dependancies as well as build
multiple branches of the projects at the same time reliably, hour after hour
every day without human intervention. Our builds also rebuild our database
during the builds and generates automatically deployable artifacts to any of
our development environments (dev,staging,production).




-----Original Message-----
From:   Radha Sangal [mailto:Radha.Sangal@(protected)]
Sent:   Wed 12/22/2004 10:35 AM
To:   Ant Users List
Cc:  
Subject:   RE: ant UI
Process is explored around that area too. But our Build files are too
complex to be called by just one build.xml ;-) There are dozen of ant
scripts, interdependent and there is a heavy link to log data in blobs.
Now that certainly would need time to configure any tool.

-----Original Message-----
From: Charles Hudak [mailto:charles.hudak@(protected)]
Sent: Wednesday, December 22, 2004 1:31 PM
To: Ant Users List
Subject: RE: ant UI

Sounds like you guys are reinventing the wheel.

Why not just use a continous integration tool like Anthill or
CruiseControl that has a web interface for configuring and launching
builds or building automatically based on a schedule? they doall of the
CVS work including checkout and tagging and generate emails and build
reports.


-----Original Message-----
From:   Douglas Lochart [mailto:dlochart@(protected)]
Sent:   Wed 12/22/2004 10:25 AM
To:   Ant Users List
Cc:  
Subject:   Re: ant UI
I have not implemented on the web yet but that is the next on the
agenda.  Having a web interface 'begs' for the interaction with ant to
be done through Java classes and not batch scripts.  This was also a
factor in my decision to implement the ant runner class.  

good luck!

Doug

Radha Sangal wrote:

>Thanks Douglas,
>
>That was quite some help. Deciding on the technology takes half of the
>time than to bring it to results. And every solution just gets stuck
>somewhere without giving the error message :).
>
>I changed the "cmd" to "call ant. bat ....." and it works fine. Also I
>am using a Jsp on my tomcat to execute the bat file now which in turn
>execute the ant script. It's a bit complicated now because I cant see
>the tomcat results in my architecture simultaneously. There is a
complex
>dir structure we have here.
>
>Did u implement automation on web? Next I would need to pass parameters
>from  
>Jsp --> ant script.
>
>Will keep your suggestion in mind, it might reduce some complexity.
>
>Thanks
>radha
>-----Original Message-----
>From: Douglas Lochart [mailto:dlochart@(protected)]
>Sent: Wednesday, December 22, 2004 1:04 PM
>To: Ant Users List
>Subject: Re: ant UI
>
>Radha,
>
>If the previous solution does not work for you then I believe its the
>fact that you are calling ant using "cmd /c" semantics, and most likely

>from a task scheduler of some sorts.  I had many issues using .cmd
files
>
>with Windows Task scheduler and decided to go in a different direction.
>
>I ended up writing an AntRunner class in java that simply relied on a
>property file for everything.  I placed ant options, the name of the
>target I was calling, cvs login info, user properties I wish to pass to

>ant via -D, etc all in a property file prefixed with a specific type
>name (like ant.option.xxx) and my AntRunner would read the property
file
>
>and invoked ant from java creating the desired command string from the
>property file.  This approach saved a lot of headaches for me.
>
>Also for generating names of builds, and CVS tags dynamically I used
the
>
>propertyfile task.  I do this instead of passing in dynamic stuff on
the
>
>command line.  It has to come from somewhere and since most of stuff is

>automatic I let the tasks do the work for me.
>
>I also ditched AT (Task Scheduler) and installed Services For Unix and
>cygwin on the 2000 box and used cron.  That was a big improvement.
>
>I know this may not answer your immediate question but may help your
>decision making in the future.
>
>What James wrote earlier should work with no problem.  If it does not
>work for you I suggest taking his example and try it as is, calling ant

>the way he did.  Then try his example but change how you call ant to
how
>
>you are doing it now "cmd /c " etc.  I bet you may find your issue in
>the way its being called.
>
>You can also run ant with -debug and capture the output to a file and
>see what ant is actually seeing as its user properties (these are what
>you pass in on the command line)
>
>Hope this helps
>
>Doug
>
>James Abley wrote:
>
>  
>
>><project name="" default="test" basedir=".">
>> <target name="test">
>>   <property name="DevBuild1" value="FirstProp"/>
>>   <property name="DevBuild2" value="SecondProp" />
>>   <echo message="Value of DevBuild1 is ${DevBuild1}"/>
>>   <echo message="Value of DevBuild2 is ${DevBuild2}" />
>> </target>
>></project>
>>
>>
>>ant -DDevBuild1=firstOverride -DDevBuild2=secondOverride
>>
>>
>>
>>On Wed, 2004-12-22 at 15:22, Radha Sangal wrote:
>>
>>
>>    
>>
>>>Do u know how to pass multiple properties ? like dev.build2 ... space
>>>/comma does not work
>>>
>>>-----Original Message-----
>>>From: Jacob, Anil - MWT [mailto:Jacob.Anil@(protected)]
>>>Sent: Tuesday, December 21, 2004 8:49 PM
>>>To: Ant Users List
>>>Subject: RE: ant UI
>>>
>>>-------
>>>
>>><project name="" default="projecthelp" basedir=".">
>>><target name="test">
>>><property name="DevBuild1" value="$(dev.build1)"/>
>>><echo message="Value of DevBuild1 is ${dev.build1}"/>
>>></target>
>>></project>
>>>
>>>-----------
>>>
>>>ant -f test.xml -Ddev.build1=Build_0402_0012 test
>>>Buildfile: test.xml
>>>
>>>test:
>>>    [echo] Value of DevBuild1 is Build_0402_0012
>>>
>>>BUILD SUCCESSFUL
>>>Total time: 3 seconds
>>>
>>>
>>>Anil
>>>
>>>-----Original Message-----
>>>From: Jacob, Anil - MWT [mailto:Jacob.Anil@(protected)]
>>>Sent: Tuesday, December 21, 2004 5:25 PM
>>>To: Ant Users List
>>>Subject: RE: ant UI
>>>
>>>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@(protected)]
>>>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@(protected)]
>>>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@(protected)]
>>>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@(protected)]
>>>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@(protected) For
additional
>>>commands, e-mail: user-help@(protected)
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: user-unsubscribe@(protected) For
additional
>>>commands, e-mail: user-help@(protected)
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: user-unsubscribe@(protected) For
additional
>>>commands, e-mail: user-help@(protected)
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: user-unsubscribe@(protected) For
additional
>>>commands, e-mail: user-help@(protected)
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: user-unsubscribe@(protected) For
additional
>>>commands, e-mail: user-help@(protected)
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: user-unsubscribe@(protected)
>>>For additional commands, e-mail: user-help@(protected)
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: user-unsubscribe@(protected)
>>>For additional commands, e-mail: user-help@(protected)
>>>
>>>  
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@(protected)
>>For additional commands, e-mail: user-help@(protected)
>>
>>
>>
>>
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@(protected)
>For additional commands, e-mail: user-help@(protected)
>
>
>  
>






---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)






---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.