[ant-contrib - Help] RemoteAnt/Runtarget properties question
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.java.ant-contrib.devel |
|---|---|
| Message-ID | <[email protected]> |
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4273783
By: nucahxsf
If I pass arguments to the task on the remote side, they are not automatically
sent to the target that will be run on the antserver unless they are redifined
inside the task on the remote side. Is there a way to remedy this problem?
For example:
<target name="axm.dcImport">
<antcall target="set.log4j.config" inheritAll="true"/>
<java dir="${process.dir}" failonerror="true" fork="true"
className="gov.nasa.acesx.util.ldc.AcesxCsvDcImport" classpathref="acesx.class.path"
output="${output.file}" append="true">
<jvmarg value="-Ddriver=${driver}" />
<jvmarg value="-Dusername=${username}" />
<jvmarg value="-Dpassword=${password}" />
<jvmarg value="-Ddatabase=${database}" />
<jvmarg value="-Dport=${port}" />
<jvmarg value="-Dhost=${host}" />
<jvmarg value="-Dldc.dir=${ldc.dir}"/>
<jvmarg value="-Dlog4j.debug=true"/>
<jvmarg value="-Dlog4j.configuration=${log4j.config}"/>
</java>
</target>
Although I have all of the properties for my remote target, I must redefine
them to send to the server.
Any help will be greatly appreciated
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=113701
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/