Meaningless Drivel is fun!*
The moose likes Ant, Maven and Other Build Tools and the fly likes XML property - confused Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "XML property - confused" Watch "XML property - confused" New topic
Author

XML property - confused

Abder-Rahman Ali
Ranch Hand

Joined: May 22, 2008
Posts: 138
In this XML proprty:



What is:

{appname}.war

trying to tell us?

Thanks.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60738
    
  65

That looks like it's from an Ant script. Moved to the Ant forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5811
    
    7

OK, three questions in a row about basic Ant script coding. I suggest that you read the Ant documentation: http://ant.apache.org/manual/
The "Using Ant" section provides a decent tutorial.

To answer the specific question. First, I hope that you mistyped the property value and that it really is "${dist.dir}/${appname}.war" in which case ${appname}.war presumably will be the name of the resulting WAR file.


JBoss In Action
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: XML property - confused
 
Similar Threads
Classloader problem in Websphere
Beginner needs help with web service endpoint name
Really strange error: Could not initialize class net.sf.hibernate.impl.SessionFactoryImpl
Getting the appname from the web.xml
WSDP2.0 pack example