Sorry, yes - for the time being ;)
Not sure how to inject config xml into a mojo so for now it's got to
be a string - and
all the angled brackets would cause trouble without the CDATA section.
As soon as I can work it out I will definitely change this though!
On 26 Nov 2005, at 22:43, Srepfler Srgjan wrote:
I should write the tasks using the CDATA to delimit them?
Ashley Williams wrote:
Srepfler, make sure you build mant first of all - it's in the
same directory as hibernate.
Also your plugin config should look something like this:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>hibernatedoclet-maven-plugin</artifactId>
<version>1.0-beta-1</version>
<executions>
<execution>
<goals>
<goal>hibernatedoclet</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<task><![CDATA[
<hibernatedoclet>
<fileset includes="**/bo/*.java"/>
<hibernate version="3.0"/>
</hibernatedoclet>
]]></task>
</configuration>
</execution>
</executions>
</plugin>
Let me know how you get on.
- Ashley
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]