Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1  
Old 01-11-2011, 01:38 AM
Joe G Joe G is online now
Registered User
 
Join Date: 10-09-2008
Posts: 6
ANT target parameters

How do I pass target parameters to an ANT script called in a Visual Build Subroutine?

e.g.

SubRoutine to call: Run Ant Script

Name: Value:
ANT_Build_Script C:\temp\build.xml

I would like to call 2 targets in build.xml:
gen.abc.jar and gen.xyz.jar.

I'm looking for the equivalent of the DOS cmd line:
ant -f build.xml gen.abc.jar gen.xyz.jar

Thanks.
Reply With Quote
  #2  
Old 01-11-2011, 09:14 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
See the attached sample.
Attached Files
File Type: bld antsub.bld (798 Bytes, 1531 views)
Reply With Quote
  #3  
Old 01-11-2011, 12:33 PM
Joe G Joe G is online now
Registered User
 
Join Date: 10-09-2008
Posts: 6
Thank You.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 11:23 AM.


Copyright © 1999-2023 Kinook Software, Inc.