Ant Paths(I)

1 March 2008

If you specify the PATH and the CLASSPATH type references using any of this, that is “:” and “;” as a separator characters, Ant can convert the separator to the correct character of the operating system in the use.

A nested element can be used wherever path like values need to be specified. See the example below.

    <classpath>
      <pathelement path="${classpath}"/>
      <pathelement location="lib/helper.jar"/>
    </classpath>

The path attribute is intended to be used with predefined paths. The path attribute accepts colon or semicolon separated lists of locations. In any other case, several other elements with location attributes should be preferred.

As a shortcut, the tag supports path and location attributes of its own, so:

    <classpath>
      <pathelement path="${classpath}"/>
    </classpath>

can be shortened to:

    <classpath path="${classpath}"/>

Related Posts:

  • No related posts
del.icio.us:Ant Paths(I)  digg:Ant Paths(I)  spurl:Ant Paths(I)  wists:Ant Paths(I)  simpy:Ant Paths(I)  newsvine:Ant Paths(I)  blinklist:Ant Paths(I)  furl:Ant Paths(I)  reddit:Ant Paths(I)  fark:Ant Paths(I)  blogmarks:Ant Paths(I)  Y!:Ant Paths(I)  smarking:Ant Paths(I)  magnolia:Ant Paths(I)  segnalo:Ant Paths(I)  gifttagging:Ant Paths(I)

Top Of Page | Trackback

If you found this page useful, consider linking to it. Simply copy and paste the code below into your web site.

It will look like this: Ant Paths(I)

Leave a Reply