cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hanley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAY-1482) Add destDir sources to the compile path for cgen
Date Thu, 16 Sep 2010 16:59:32 GMT

    [ https://issues.apache.org/jira/browse/CAY-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12910225#action_12910225
] 

Mark Hanley commented on CAY-1482:
----------------------------------

Exactly, we are putting the generated sources in target/generated-sources/cayenne and do not
want to modify our src [svn] directory during a build.
Much like:
JAXB puts theirs under target/generated-sources/xjc
JDK6 puts theirs under target/generated-sources/annotations
Hibernate uses target/generated-sources/hibernate3
Xdoclet uses target/generated-sources/xdoclet
 
>From what I understand, the convention is ${project.build.directory}/generated-sources/<toolname>

> Add destDir sources to the compile path for cgen
> ------------------------------------------------
>
>                 Key: CAY-1482
>                 URL: https://issues.apache.org/jira/browse/CAY-1482
>             Project: Cayenne
>          Issue Type: Bug
>    Affects Versions: 3.0, 3.0.1
>         Environment: Apache Maven 2.2.0 (r788681; 2009-06-26 06:04:01-0700)
> Java version: 1.6.0_20
> Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
> Default locale: en_US, platform encoding: MacRoman
> OS name: "mac os x" version: "10.6.4" arch: "x86_64" Family: "mac"
>            Reporter: Mark Hanley
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Using cgen, maven generates the expected java source from my Cayenne map.xml file, but
the compiler is not directed to those auto generated java files. Please ad destDir to compile
source roots. See http://maven.apache.org/plugins/maven-compiler-plugin/faq.html for the same
issue.

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


Mime
View raw message