You are running the wrong modeler I think. Try this:
mvn clean install -Passembly,generic
and then unpack the distro under cayenne/assembly/target/*.gz and run CayenneModeler.jar from there.
Andrus
On Oct 7, 2010, at 8:00 PM, gilbertoca wrote:
>
> I've tried ... but:
>
>
>
>> gilbert..UGEP-DMASI:~/bin/cayenne$ mvn clean install -Passembly
>> .
>> .
>>
>> [INFO] Cayenne ROP Server Tutorial ........................... SUCCESS
>> [2.281s]
>> [INFO] Cayenne ROP Client Tutorial ........................... SUCCESS
>> [2.307s]
>> [INFO] Cayenne Tutorials ..................................... SUCCESS
>> [0.155s]
>> [INFO] Cayenne Documentation ................................. SUCCESS
>> [1:28.974s]
>> [INFO] Cayenne Documenation Parent ........................... SUCCESS
>> [0.052s]
>> [INFO] Cayenne Release Assembly .............................. SUCCESS
>> [0.055s]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD SUCCESSFUL
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 7 minutes 8 seconds
>> [INFO] Finished at: Thu Oct 07 12:57:31 BRT 2010
>> [INFO] Final Memory: 127M/217M
>> [INFO]
>> ------------------------------------------------------------------------
>> gilbert..UGEP-DMASI:~/bin/cayenne$ java -jar
>> /home/gilberto/.m2/repository/org/apache/cayenne/cayenne-modeler/3.1-SNAPSHOT/cayenne-modeler-3.1-SNAPSHOT.jar
>> Failed to load Main-Class manifest attribute from
>> /home/gilberto/.m2/repository/org/apache/cayenne/cayenne-modeler/3.1-SNAPSHOT/cayenne-modeler-3.1-SNAPSHOT.jar
>> gilbert..UGEP-DMASI:~/bin/cayenne$ find -name *modeler*.jar
>> ./modeler/cayenne-modeler/target/cayenne-modeler-3.1-SNAPSHOT-sources.jar
>> ./modeler/cayenne-modeler/target/cayenne-modeler-3.1-SNAPSHOT.jar
>> ./modeler/maven-cayenne-modeler-plugin/target/maven-cayenne-modeler-plugin-3.1-SNAPSHOT.jar
>> ./modeler/cayenne-modeler-generic-ext/target/cayenne-modeler-generic-ext-3.1-SNAPSHOT.jar
>> gilbert..UGEP-DMASI:~/bin/cayenne$ java -jar
>> modeler/cayenne-modeler/target/cayenne-modeler-3.1-SNAPSHOT.jar
>> Failed to load Main-Class manifest attribute from
>> modeler/cayenne-modeler/target/cayenne-modeler-3.1-SNAPSHOT.jar
>> gilbert..UGEP-DMASI:~/bin/cayenne$
>>
> --
> View this message in context: http://cayenne.195.n3.nabble.com/Exception-in-Cayenne-Modeler-heap-blows-up-tp1572059p1649511.html
> Sent from the Cayenne - User mailing list archive at Nabble.com.
>
This archive was generated by hypermail 2.0.0 : Thu Oct 07 2010 - 17:40:32 UTC