Hi there, I'm trying to convert an old windows legacy build system for
an inhouse corbaproject into maven on linux
but I have stumbled upon a small problem with setting up the maven project.
and I'm getting problems with includes in the idl files.. in that maven
cannot find the files requested... :-(

I keep getting these type of errors :-(
[ERROR] ............/idl/src/main/idl/Db_Art_lang_man.idl (line 5): 
java.io.FileNotFoundException: Global_lang.idl
#include "Global_lang.idl"

now, ALl the files exist in thesrc/main/idl directory, including the
"include files" and from what I understand the include files shoudl then
be found..
(http://svn.codehaus.org/mojo/trunk/mojo/idlj-maven-plugin/src/main/java/org/codehaus/mojo/idlj/IdljTranslator.java
in this file I can see that the sourceDirectory is included in the
include directories)


can anyone help me past this problem ?


Some info from my system
Maven version: 2.0.9
Java version: 1.6.0_18
OS name: "linux" version: "2.6.22.19-server-2mdv" arch: "amd64" Family:
"unix"

pom.xml
<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>no.ofs.kost</groupId>
  <artifactId>idl</artifactId>
  <packaging>jar</packaging>
  <version>1.0-SNAPSHOT</version>
  <name>idl</name>
   <build>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>idlj-maven-plugin</artifactId>
        <version>1.1</version>
        <executions>
          <execution>
            <goals>
              <goal>generate</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <compiler>idlj</compiler>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>







---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to