>In my build.xml if i want to get the the value of 
>"distpath.project" (path of my web application context in OC4J 
>server) from build.properties .
>
>What Changes i need to avil this requirement ?
>
>-------------------------
><project name="testapp"  basedir="../" default="all">
>
><!-- Project settings -->
>    <property name="project.title" value="Test Web application"/>
>    <property name="project.version" value="1.0"/>
>    <property name="distpath.project"
>value="F:/oc4j_extended/j2ee/home/applications"/>


build.xml
---------
<project ...>
    <property file="build.properties"/>
</project>


build.properties
----------------
project.title=Test Web application
project.version=1.0
distpath.project=F:/oc4j_extended/j2ee/home/applications



Inside the buildfile you have
    <property name="NAME" value="VALUE"/>
and with property files you load these mappings
    <property file=""/>
    NAME=VALUE # COMMENT



Jan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to