cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <>
Subject [jira] Commented: (CAY-1482) Add destDir sources to the compile path for cgen
Date Thu, 16 Sep 2010 15:41:32 GMT


Andrus Adamchik commented on CAY-1482:

While I can see a theoretical value of that, I personally always set destDir to src/main/java,
so javac plugin has no trouble finding generated files within the same mvn run. So let's make
sure I understand this correctly - is this for destinations like "target/generated-sources"?

(a related idea that I have is making ${} (aka "src/main/java")
a default for "destDir", so that it doesn't have to be specified at all)... 

> Add destDir sources to the compile path for cgen
> ------------------------------------------------
>                 Key: CAY-1482
>                 URL:
>             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 for the same

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

View raw message