Hello,
I'm using the retrotranslator plugin. In fact, I want to transform the
result classes to Java 1.4. Here is my configuration:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>retrotranslator-maven-plugin</artifactId>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>translate</goal>
</goals>
<configuration>
<filesets>
<fileset>
<directory>${project.build.outputDirectory}</directory>
<includes>
<include>**/*.class</include>
</includes>
</fileset>
</filesets>
</configuration>
</execution>
</executions>
</plugin>
With this configuration, I can transform result classes to Java 1.4 by
the command "mvn install" (it works). But, I want to specify that I use
retrotranslator in my pom by using "mvn retrotranslator:translate", here
is the error:
[INFO] [retrotranslator:translate]
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] No files to translate.
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.IllegalArgumentException: No files to translate.
at
net.sf.retrotranslator.transformer.Retrotranslator.run(Retrotranslator.java:168)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
Could anyone give me suggestions to solve my problem? If not, how I
could configure my pom to transform the classes to Java 1.4 by using
"mvn retrotranslator:translate" instead of "mvn install".
Thanks in advance!
Kinh
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email