|
Fornax-Platform
Forum |
|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
SmartClient build failureeHi,
I was able to do some of the other tutorials successfully but when trying to do the 12th step on this page, http://fornax.itemis.de/confluence/display/fornax/5.4.+SmartClient+(CSC) when I do: mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create \ -DarchetypeGroupId=org.fornax.cartridges \ -DarchetypeArtifactId=fornax-cartridges-sculptor-archetype-smartclient -DarchetypeVersion=1.7.0-SNAPSHOT \ -DremoteRepositories=http://www.fornax-platform.org/archiva/repository/snapshots/ \ -DgroupId=org.sctest -DartifactId=sctest-smartclient I get this build error: [INFO] Unable to find resource 'org.fornax.cartridges:fornax-cartridges-sculptor -archetype-smartclient:jar:1.7.0' in repository id0 (http://www.fornax-platform. org/archiva/repository/snapshots/) [INFO] ------------------------------------------------------------------------ Thanks in advance, Barton |
|
|
Re: SmartClient build failureeHi,
The documentation is a little bit behind here. Our archetype's have been upgraded. It should be used like: mvn archetype:generate -DarchetypeGroupId=org.fornax.cartridges -DarchetypeArtifactId=fornax-cartridges-sculptor-archetype-smartclient -DarchetypeVersion=1.7.0-SNAPSHOT -DarchetypeRepository=http://www.fornax-platform.org/archiva/repository/snapshots/ .../Andreas On Thu, Oct 29, 2009 at 9:33 PM, bartonhammond <bartonhammond@...> wrote:
------------------------------------------------------------------------------ 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: SmartClient build failureeHi Andreas,
I tried that and got this: [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] The desired archetype does not exist (org.fornax.cartridges:fornax-cartri dges-sculptor-archetype-smartclient:1.7.0-SNAPSHOT) [INFO] ------------------------------------------------------------------------ Regards, Barton
|
|
|
Re: SmartClient build failureeOk, strange.
We have to look into what we have in the repository. Meanwhile, I've attached the jar for you. You can install it in your local repo by: mvn install:install-file -DgroupId=org.fornax.cartridges -DartifactId=fornax-cartridges-sculptor-archetype-smartclient -Dversion=1.7.0-SNAPSHOT -Dfile=fornax-cartridges-sculptor-archetype-smartclient-1.7.0-SNAPSHOT.jar -Dpackaging=jar -DgeneratePom=true .../Andreas On Thu, Oct 29, 2009 at 10:00 PM, bartonhammond <bartonhammond@...> wrote:
------------------------------------------------------------------------------ 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: SmartClient build failureeHmm, the list server wasn't to happy about the attachment.
You find it under attachments in the wiki page. 2009/10/29 Andreas Källberg <andreas.kallberg@...> Ok, strange. ------------------------------------------------------------------------------ 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: SmartClient build failureeSmartclient isn't ready yet. Pavel will let us know when we can test it. Stay tuned.
/Patrik |
|
|
Re: SmartClient build failureeHi Patrik,
Thanks. I got past the initial error I reported given the jar. The db is setup (MySql) given the DDL & data scripts. When I do "mvn gwt:run" I get [INFO] [gwt:run] [INFO] using GWT jars from project dependencies : 1.7.0 [INFO] Unpack native libraries required to run GWT [INFO] establishing classpath list (scope = runtime) [INFO] create exploded Jetty webapp in c:\Users\barton\sculptor\sctest-smartclie nt\war [INFO] auto discovered modules [org.fornax.cartridges.sculptor.smartclient.smart client] [INFO] WARN - SettingsFactory.buildSettings(144) | Could not obtain connection m etadata [INFO] org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnect ionFactory (Unknown database 'xxxx') [INFO] at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSou rce.java:855) [INFO] at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource .java:540) I'll hold off any further work on this until I hear something. Thanks, Barton ==========================================
|
|
|
Re: SmartClient build failureeHello, thanks for testing.
Please recheck step no. 5 and 7. Look to your src/main/resources/sculptor-generator.properties if it contain line: generate.spring.dataSourceSupport=true And src/main/resources/spring.properties should have (replace <...> placeholders): jdbc.driverClassName=com.mysql.jdbc.Driver jdbc.url=jdbc:mysql://localhost/<YOURDATABASENAME>?useUnicode=true&characterEncoding=UTF-8 jdbc.username=<LOGIN> jdbc.password=<PASSWORD> Than rebuild your entity project (mvn clean install). Try again. Please send me result. Pavel On Thu, Oct 29, 2009 at 11:19 PM, bartonhammond <bartonhammond@...> wrote: > > Hi Patrik, > > Thanks. I got past the initial error I reported given the jar. The db is > setup (MySql) given the DDL & data scripts. When I do "mvn gwt:run" I get > > [INFO] [gwt:run] > [INFO] using GWT jars from project dependencies : 1.7.0 > [INFO] Unpack native libraries required to run GWT > [INFO] establishing classpath list (scope = runtime) > [INFO] create exploded Jetty webapp in > c:\Users\barton\sculptor\sctest-smartclie > nt\war > [INFO] auto discovered modules > [org.fornax.cartridges.sculptor.smartclient.smart > client] > [INFO] WARN - SettingsFactory.buildSettings(144) | Could not obtain > connection m > etadata > [INFO] org.apache.commons.dbcp.SQLNestedException: Cannot create > PoolableConnect > ionFactory (Unknown database 'xxxx') > [INFO] at > org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSou > rce.java:855) > [INFO] at > org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource > .java:540) > > I'll hold off any further work on this until I hear something. > > Thanks, > > Barton > ========================================== > > Patrik Nordwall wrote: >> >> Smartclient isn't ready yet. Pavel will let us know when we can test it. >> Stay tuned. >> /Patrik >> > > -- > View this message in context: http://www.nabble.com/SmartClient-build-failuree-tp26120238s17564p26121837.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: SmartClient build failureeHi Pavel,
Rats - missed that. Thanks. I'm now able to bring the smartclient app up and see the data and navigate both the tree and tab. Amazing. Thanks again, Barton
|
| Free embeddable forum powered by Nabble | Forum Help |