|
Fornax-Platform
Forum |
|
View:
New views
10 Messages
—
Rating Filter:
Alert me
|
|
|
Novice attempts with MWE failingHi,
I am trying to run my first attempts with MWE and the Fornax cartridges. The M2 plugin fails with the following message: java.lang.IllegalArgumentException: Cannot load or instantiate class org.eclipse.emf.mwe.core.monitor.NullProgressMonitor at org.fornax.toolsupport.maven2.MojoWorkflowRunner.setProgressMonitorClass(MojoWorkflowRunner.java:82) at org.fornax.toolsupport.maven2.WorkflowMojo.execute(WorkflowMojo.java:273) I am assuming that I am missing a dependency in the POM. However, It is unclear to me what that might be. My POM looks like follows. Thanks, Jochen <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>demo</groupId> <artifactId>demo</artifactId> <version>0.0.1-SNAPSHOT</version> <dependencies> <dependency> <groupId>org.fornax.openarchitectureware</groupId> <artifactId>oaw-uml2</artifactId> <version>4.3.1</version> <type>pom</type> <scope>runtime</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.fornax.toolsupport</groupId> <artifactId>fornax-oaw-m2-plugin</artifactId> <version>3.0.1</version> <executions> <execution> <phase>generate-sources</phase> <goals> <goal>run-workflow</goal> </goals> </execution> </executions> <configuration> <workflowEngine>mwe</workflowEngine> <checkResources> <checkResource>src/main/resources/models/mymodel.uml2</checkResource> </checkResources> </configuration> </plugin> </plugins> </build> <repositories> <repository> <id>fornax.repository</id> <name>Fornax Repository</name> <url>http://www.fornax-platform.org/m2/repository</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>fornax.plugin.repository</id> <name>Fornax Plugin Repository</name> <url>http://www.fornax-platform.org/m2/repository</url> </pluginRepository> </pluginRepositories> </project> |
|
|
Re: Novice attempts with MWE failingPing?
|
|
|
Questions on DDL GenerationHi All,
I am using sculptor 1.6 and am facing some issues with the DDL Generation. I am using the "inverse" relation between two entities. My database type is defined via db.product=oracle. Now, here is the problem. In the generated ddl for oracle, I am getting the resultant ddl as CREATE TABLE PERSON ( ID NUMBER(20) NOT NULL, ENTITYID VARCHAR2(100) NOT NULL, FIRSTNAME VARCHAR2(100), CONTACT_INDEX INTEGER(10), CLIENT NUMBER(20) ); Running this in Oracle leads to problem, as the integer field doesn’t have a length. Is there a way to overcome this problem? I have given the following values in the sculptor-generator db.oracle.type.PositiveInteger=NUMBER db.oracle.type.Integer=NUMBER db.oracle.type.Number=NUMBER db.oracle.length.Integer=10 db.oracle.type.int=NUMBER db.oracle.type.BigInteger=NUMBER db.oracle.type.discriminatorType.INTEGER=NUMBER db.oracle.length.discriminatorType.INTEGER=5 Regards Abhilash ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Fornax-developer mailing list Fornax-developer@... https://lists.sourceforge.net/lists/listinfo/fornax-developer |
|
|
|
|
|
Re: Questions on DDL GenerationAnswered in new thread: http://www.nabble.com/-sculptor--Number-problem-in-DDL-ts25860060s17564.html#a25860328
|
|
|
Re: Novice attempts with MWE failingPing? Is there any forum, or mailing list, which is more appropriate for the question?
|
|
|
Re: Novice attempts with MWE failingIn the Sculptor team we are working on migration to oaw5, but we have not started with the maven integration yet. Sorry.
Maybe you can find something in Karsten's blog or Eclipse Community forums. /Patrik
|
|
|
Re: Novice attempts with MWE failingJochen,
you are declaring a dependency to oaw4 uml2, which would require to use oAW4's workflow engine (declared by <workflowEngine>oaw</workflowEngine>, or just leaving that out). If you want to use MWE as workflow engine you would also migrate the projects and using M2T Xpand dependencies only. Don't mix both. Best, ~Karsten ----- Original Message ----- From: "Jochen Wiedmann" <jochen.wiedmann@...> To: fornax-developer@... Sent: Monday, October 19, 2009 11:53:01 AM (GMT+0100) Europe/Berlin Subject: Re: [Fornax-developer] Novice attempts with MWE failing Ping? Is there any forum, or mailing list, which is more appropriate for the question? Jochen Wiedmann wrote: > > Ping? > > > Jochen Wiedmann wrote: >> >> Hi, >> >> I am trying to run my first attempts with MWE and the Fornax cartridges. >> The M2 plugin fails with the following message: >> >> java.lang.IllegalArgumentException: Cannot load or instantiate class >> org.eclipse.emf.mwe.core.monitor.NullProgressMonitor >> at >> org.fornax.toolsupport.maven2.MojoWorkflowRunner.setProgressMonitorClass(MojoWorkflowRunner.java:82) >> at >> org.fornax.toolsupport.maven2.WorkflowMojo.execute(WorkflowMojo.java:273) >> >> I am assuming that I am missing a dependency in the POM. However, It is >> unclear to me what that might be. My POM looks like follows. >> >> Thanks, >> >> Jochen >> >> >> <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>demo</groupId> >> <artifactId>demo</artifactId> >> <version>0.0.1-SNAPSHOT</version> >> >> <dependencies> >> <dependency> >> <groupId>org.fornax.openarchitectureware</groupId> >> <artifactId>oaw-uml2</artifactId> >> <version>4.3.1</version> >> <type>pom</type> >> <scope>runtime</scope> >> </dependency> >> </dependencies> >> >> <build> >> <plugins> >> <plugin> >> <groupId>org.fornax.toolsupport</groupId> >> <artifactId>fornax-oaw-m2-plugin</artifactId> >> <version>3.0.1</version> >> <executions> >> <execution> >> <phase>generate-sources</phase> >> <goals> >> <goal>run-workflow</goal> >> </goals> >> </execution> >> </executions> >> <configuration> >> <workflowEngine>mwe</workflowEngine> >> <checkResources> >> >> <checkResource>src/main/resources/models/mymodel.uml2</checkResource> >> </checkResources> >> </configuration> >> </plugin> >> </plugins> >> </build> >> >> <repositories> >> <repository> >> <id>fornax.repository</id> >> <name>Fornax Repository</name> >> <url>http://www.fornax-platform.org/m2/repository</url> >> </repository> >> </repositories> >> <pluginRepositories> >> <pluginRepository> >> <id>fornax.plugin.repository</id> >> <name>Fornax Plugin Repository</name> >> <url>http://www.fornax-platform.org/m2/repository</url> >> </pluginRepository> >> </pluginRepositories> >> </project> >> >> > > -- View this message in context: http://www.nabble.com/Novice-attempts-with-MWE-failing-tp25771216s17564p25955715.html Sent from the Fornax-Platform mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Fornax-developer mailing list Fornax-developer@... https://lists.sourceforge.net/lists/listinfo/fornax-developer ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Fornax-developer mailing list Fornax-developer@... https://lists.sourceforge.net/lists/listinfo/fornax-developer |
|
|
Re: Novice attempts with MWE failingThanks for the reply, Karsten. Question for me is which way to go. My actual intention is to use the Hibernate cartridge. Is that possible with MWE? (In which case I'd need to identify the corresponding thing in M2T?) Otherwise, I've got do go back to oAW? Jochen
|
|
|
Re: Novice attempts with MWE failingThe Hibernate cartridge is implemented with oAW 4 and thus not compatible. In fact I'm using it in my current project with oAW 5, this required some tweaks I roughly described on my blog here:
http://kthoms.wordpress.com/2009/07/16/oaw-4-migration-with-cartridge-adaption/ I would not recommend doing so really for you and rather stick with oAW 4 here, at least for the cartridge usage. ~Karsten ----- Original Message ----- From: "Jochen Wiedmann" <jochen.wiedmann@...> To: fornax-developer@... Sent: Monday, October 19, 2009 1:20:03 PM (GMT+0100) Europe/Berlin Subject: Re: [Fornax-developer] Novice attempts with MWE failing Thanks for the reply, Karsten. Question for me is which way to go. My actual intention is to use the Hibernate cartridge. Is that possible with MWE? (In which case I'd need to identify the corresponding thing in M2T?) Otherwise, I've got do go back to oAW? Jochen Karsten Thoms wrote: > > Jochen, > > you are declaring a dependency to oaw4 uml2, which would require to use > oAW4's workflow engine (declared by <workflowEngine>oaw</workflowEngine>, > or just leaving that out). If you want to use MWE as workflow engine you > would also migrate the projects and using M2T Xpand dependencies only. > Don't mix both. > > Best, > ~Karsten > > > ----- Original Message ----- > From: "Jochen Wiedmann" <jochen.wiedmann@...> > To: fornax-developer@... > Sent: Monday, October 19, 2009 11:53:01 AM (GMT+0100) Europe/Berlin > Subject: Re: [Fornax-developer] Novice attempts with MWE failing > > > Ping? Is there any forum, or mailing list, which is more appropriate for > the > question? > > > > Jochen Wiedmann wrote: >> >> Ping? >> >> >> Jochen Wiedmann wrote: >>> >>> Hi, >>> >>> I am trying to run my first attempts with MWE and the Fornax cartridges. >>> The M2 plugin fails with the following message: >>> >>> java.lang.IllegalArgumentException: Cannot load or instantiate class >>> org.eclipse.emf.mwe.core.monitor.NullProgressMonitor >>> at >>> org.fornax.toolsupport.maven2.MojoWorkflowRunner.setProgressMonitorClass(MojoWorkflowRunner.java:82) >>> at >>> org.fornax.toolsupport.maven2.WorkflowMojo.execute(WorkflowMojo.java:273) >>> >>> I am assuming that I am missing a dependency in the POM. However, It is >>> unclear to me what that might be. My POM looks like follows. >>> >>> Thanks, >>> >>> Jochen >>> >>> >>> <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>demo</groupId> >>> <artifactId>demo</artifactId> >>> <version>0.0.1-SNAPSHOT</version> >>> >>> <dependencies> >>> <dependency> >>> <groupId>org.fornax.openarchitectureware</groupId> >>> <artifactId>oaw-uml2</artifactId> >>> <version>4.3.1</version> >>> <type>pom</type> >>> <scope>runtime</scope> >>> </dependency> >>> </dependencies> >>> >>> <build> >>> <plugins> >>> <plugin> >>> <groupId>org.fornax.toolsupport</groupId> >>> <artifactId>fornax-oaw-m2-plugin</artifactId> >>> <version>3.0.1</version> >>> <executions> >>> <execution> >>> <phase>generate-sources</phase> >>> <goals> >>> <goal>run-workflow</goal> >>> </goals> >>> </execution> >>> </executions> >>> <configuration> >>> <workflowEngine>mwe</workflowEngine> >>> <checkResources> >>> >>> <checkResource>src/main/resources/models/mymodel.uml2</checkResource> >>> </checkResources> >>> </configuration> >>> </plugin> >>> </plugins> >>> </build> >>> >>> <repositories> >>> <repository> >>> <id>fornax.repository</id> >>> <name>Fornax Repository</name> >>> <url>http://www.fornax-platform.org/m2/repository</url> >>> </repository> >>> </repositories> >>> <pluginRepositories> >>> <pluginRepository> >>> <id>fornax.plugin.repository</id> >>> <name>Fornax Plugin Repository</name> >>> <url>http://www.fornax-platform.org/m2/repository</url> >>> </pluginRepository> >>> </pluginRepositories> >>> </project> >>> >>> >> >> > > -- > View this message in context: > http://www.nabble.com/Novice-attempts-with-MWE-failing-tp25771216s17564p25955715.html > Sent from the Fornax-Platform mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Fornax-developer mailing list > Fornax-developer@... > https://lists.sourceforge.net/lists/listinfo/fornax-developer > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Fornax-developer mailing list > Fornax-developer@... > https://lists.sourceforge.net/lists/listinfo/fornax-developer > > -- View this message in context: http://www.nabble.com/Novice-attempts-with-MWE-failing-tp25771216s17564p25956640.html Sent from the Fornax-Platform mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Fornax-developer mailing list Fornax-developer@... https://lists.sourceforge.net/lists/listinfo/fornax-developer ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Fornax-developer mailing list Fornax-developer@... https://lists.sourceforge.net/lists/listinfo/fornax-developer |
| Free embeddable forum powered by Nabble | Forum Help |