You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by chaz dawg <ch...@yahoo.com> on 2006/12/07 05:16:50 UTC
How to run JAVAC and include .properties files?
Hi all,
I am trying to use javac to compile java. I am using resource bundle files (.properties), which are present in the src directory.
How do I make the javac activity copy these files to the classes directory when it compiles? I have tried the following code but it doesnt work. The classes are created as normal but still no properties files appear in the classes directory.
<javac srcdir="${build.dir}\${project.name}\src" destdir="${build.dir}\${project.name}\BPEL-INF\classes" includes="**/*.java, **/*.properties"/>
Any help much appreciated!
Thanks,
Charles
Send instant messages to your online friends http://au.messenger.yahoo.com
Re: How to run JAVAC and include .properties files?
Posted by Jacob Kjome <ho...@visi.com>.
Try <copy>. <javac>'s about Java source only.
Jake
At 10:16 PM 12/6/2006, you wrote:
>
>Hi all,
>
>I am trying to use javac to compile java. I am using resource bundle
>files (.properties), which are present in the src directory.
>How do I make the javac activity copy these files to the classes
>directory when it compiles? I have tried the following code but it
>doesnt work. The classes are created as normal but still no properties
>files appear in the classes directory.
>
><javac srcdir="${build.dir}\${project.name}\src"
>destdir="${build.dir}\${project.name}\BPEL-INF\classes"
>includes="**/*.java, **/*.properties"/>
>
>Any help much appreciated!
>
>Thanks,
>Charles
>
>
>
>
>
>Send instant messages to your online friends http://au.messenger.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org