Kris Bravo wrote:
Hi Stefano,
Try adding an execution goal to the plugin and see if that fixes your
issue. I'm not sure why that's missing from the documentation as well.
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
Kris Bravo
Corridor Software, Inc.
http://www.corridor-software.us
Hi Kris,
It looks like that the real problem is that no default are available
for the definition of the parameter sources inside the file
AbstractIDLJMojo.java
In fact I got the plugin working with the following configuration:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>idlj-maven-plugin</artifactId>
<version>1.1-SNAPSHOT</version>
<executions><execution>
<goals><goal>generate</goal></goals>
</execution></executions>
<configuration>
<sources>
<source>
<includes><include>*.idl</include></includes>
</source>
</sources>
</configuration>
</plugin>
BTW, I think that the information on the website that explain how-to use
the plugin must be updated in order to avoid people to look at the code
to get the plugin working :)
Because on the website the documentation states that you don't need to
use any configuration or execution in order to get the plugin generate
all the java from the idl files cotained in the /src/main/idl but that
it's not true a the moment.
Ciao,
Stefano "Kismet" Lenzi
Hi all,
I'm not unble to use the idlj-maven-plugin in order to get my .idl file
generate java sources :S
Here are my testes which didn't work:
1 - I've place my only fipa.idl in src/main/idl directory and I have added
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>idlj-maven-plugin</artifactId>
</plugin>
to my pom, but when I execute mvn install the plugin is not executed at
all
2 - I've tryed to execute the goal with mvn idlj:generate but even if
the plugin now loads nothing is done
3 - I've tryed to use the 1.1-SNAPSHOT version but nothing changed
4 - I've tryed with to do the above tests with the following plugin
configuration
<configuration>
<compiler>idlj</compiler>
<sources>
<source>
<includes>
<include>src/main/idl/fipa.idl</include>
</includes>
<emitStubs>true</emitStubs>
<emitSkeletons>true</emitSkeletons>
</source>
</sources>
</configuration>
but always no result at all
Anyone can help me with that?
Ciao,
Stefano "Kismet" Lenzi
P.S.: The documentation said that the plugin is binded to
generate-resources phase but looking at the source code it look binded
to generate-sources phase so that should be changed
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email