You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org> on 2010/03/11 16:37:27 UTC

[jira] Closed: (CLEREZZA-89) org.apache.clerezza.maven-ontologies-plugin problems with java folder on windows

     [ https://issues.apache.org/jira/browse/CLEREZZA-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reto Bachmann-Gmür closed CLEREZZA-89.
--------------------------------------

    Resolution: Cannot Reproduce

So I compiled the whole of clerezza under windows (windows 7 professional without using cygwin). After setting a high -XX:MaxPermSize everything including the ontologies project compiled  (disregarding some tests failing in the mulgara project). The generated classes in rdf.ontologies (using the plugin) look correct.

> org.apache.clerezza.maven-ontologies-plugin problems with java folder on windows
> --------------------------------------------------------------------------------
>
>                 Key: CLEREZZA-89
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-89
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Oliver Strässer
>            Assignee: Reto Bachmann-Gmür
>
> The maven plugin linked the generated source to the parent folder of the java folder
> example: 
> my rdf file is located in fthe folder: src\main\resources\net\getunik\app\gpn\ontologies
> and the generated class is in the folder: target\generated-sources\main\java\net\getunik\app\gpn\ontologies
> the linked package in netbeans is named: java.net.getunik.app.gpn.ontologies , and that causes a problem of the package declaration in the java class
> my plugin configuration: 
>             <plugin>
>                 <groupId>org.apache.clerezza</groupId>
>                 <artifactId>org.apache.clerezza.maven-ontologies-plugin</artifactId>
>                 <executions>
>                     <execution>
>                         <phase>generate-sources</phase>
>                         <configuration>
>                             <resourcePath>${basedir}/src/main/resources</resourcePath>
>                             <sources>
>                                 <source>${basedir}/target/generated-sources/main/java/</source>
>                             </sources>
>                         </configuration>
>                         <goals>
>                             <goal>generate</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>             </plugin>
> i tried 
> <source>${basedir}/target/generated-sources/main/java</source>
> and 
> <source>${basedir}/target/generated-sources/main/</source>
> too

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.