manju (1) [Avatar] Offline
#1
Hi,

I am trying to generate the Resource Bundle Property file using
externailizable Task. In Java I hve added

/**
* @msg.bundle msg="Hello World"
*/
public final static String HELLO_WORLD = "HELLO_WORLD";

and in Build.xml i have defined externalizer task, but in Properties
file generated I am not seeing any Hello World entries. can you plese
help me..

<taskdef name="externalizer" >
classname="xdoclet.modules.externalizer.ExternalizerSubTask"
classpathref="xdoclet.class.path"/>
<taskdef name="xdoclet" classname="xdoclet.DocletTask" >
classpathref="xdoclet.class.path"/>

<target name="localization" verbose="true">
<xdoclet destDir=".">
<fileset dir=".">
<include name="**/*Bean.java"/>
</fileset>
<externalizer destinationFile="resource.properties">
</externalizer>
</xdoclet>
</target>

thanks
manju