Hi,

Have you tried to remove extra new line characters from <directory> content?

You have
<directory>
   ${project.build.outputDirectory}
</directory>

But in the example:
<directory>${project.build.outputDirectory}</directory>

Just my 2 cents,
Taras

On 3/19/07, Gohan <[EMAIL PROTECTED]> wrote:

Hi,

I've created a simple project just to try out Retrotranslate 1.0-alpha-2 but
I can't get it working. However I try to configure the includes I get the
same error, "Source not set.".

If I just copy and paste the example code found on
http://mojo.codehaus.org/retrotranslator-maven-plugin/examples/general-translation.html
I end up with a pom like:

<project xmlns="http://maven.apache.org/POM/4.0.0";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
       <modelVersion>4.0.0</modelVersion>
       <groupId>se.jayway</groupId>
       <artifactId>Java5to4</artifactId>
       <packaging>jar</packaging>
       <version>1.0-SNAPSHOT</version>
       <name>Java5to4</name>
       <url>http://maven.apache.org</url>
       <build>
               <plugins>
                       <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>
               </plugins>
       </build>
       <dependencies>
               <dependency>
                       <groupId>junit</groupId>
                       <artifactId>junit</artifactId>
                       <version>3.8.1</version>
                       <scope>test</scope>
               </dependency>
       </dependencies>
</project>

I read in a thread here somewhere that
<directory>${project.build.outputDirectory}</directory> should be replaced
to <basedir>${pom.basedir}/target/classes</basedir> but I still get the same
error when I execute "mvn retrotranslator:translate".

Thanks


--
View this message in context: 
http://www.nabble.com/Retrotranslate-source-not-set-error-tf3427167.html#a9552395
Sent from the mojo - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
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

Reply via email to