RE: [T5] archetype quickstart error
But why you are using 5.0.3-SNAPSHOT? I tried 5.0.4 and it worked fine, I only had to slightly edit the resulting pom.xml. -Original Message- From: #Cyrille37# [mailto:[EMAIL PROTECTED] Sent: 25 June 2007 11:03 To: Tapestry users Subject: [T5] archetype quickstart error Hello, A project generated with archetypeArtifactId=quickstart does not build. Here are settings used : set remoteRepositories=-DremoteRepositories=http://people.apache.org/repo/m2 -snapshot-repository set archetypeGroupId=-DarchetypeGroupId=org.apache.tapestry set archetypeArtifactId=-DarchetypeArtifactId=quickstart set archetypeVersion=-DarchetypeVersion=5.0.3-SNAPSHOT set groupId=-DgroupId=org.example set artifactId=-DartifactId=my-appT5 set packageName=-DpackageName=org.example.myappT5 set version=-Dversion=1.0.0-SNAPSHOT Here is the error : ... [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppM odule.java:[8,42] cannot find symbol symbol : class Contribute location: package org.apache.tapestry.ioc.annotations D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppM odule.java:[9,42] cannot find symbol symbol : class Id location: package org.apache.tapestry.ioc.annotations D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppM odule.java:[20,1] cannot find symbol symbol: class Id @Id(app) D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppM odule.java:[23,5] cannot find symbol symbol : class Contribute location: class org.example.myappT5.services.AppModule D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppM odule.java:[73,5] cannot find symbol symbol : class Contribute location: class org.example.myappT5.services.AppModule Any Idea ? Cyrille. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- CONFIDENTIALITY NOTICE: If you have received this email in error, please immediately notify the sender by e-mail at the address shown. This email transmission may contain confidential information. This information is intended only for the use of the individual(s) or entity to whom it is intended even if addressed incorrectly. Please delete it from your files if you are not the intended recipient. Thank you for your compliance. Copyright 2007 CIGNA == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5] archetype quickstart error
Kolesnikov, Alexander GNI a écrit : But why you are using 5.0.3-SNAPSHOT? I tried 5.0.4 and it worked fine, But it is the archetype which is using 5.0.3-SNAPSHOT ... I only had to slightly edit the resulting pom.xml. Yes. Good idea ! I'll do a try. Thanks cyrille -Original Message- From: #Cyrille37# [mailto:[EMAIL PROTECTED] Sent: 25 June 2007 11:03 To: Tapestry users Subject: [T5] archetype quickstart error Hello, A project generated with archetypeArtifactId=quickstart does not build. Here are settings used : set remoteRepositories=-DremoteRepositories=http://people.apache.org/repo/m2 -snapshot-repository set archetypeGroupId=-DarchetypeGroupId=org.apache.tapestry set archetypeArtifactId=-DarchetypeArtifactId=quickstart set archetypeVersion=-DarchetypeVersion=5.0.3-SNAPSHOT set groupId=-DgroupId=org.example set artifactId=-DartifactId=my-appT5 set packageName=-DpackageName=org.example.myappT5 set version=-Dversion=1.0.0-SNAPSHOT Here is the error : ... [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppM odule.java:[8,42] cannot find symbol symbol : class Contribute location: package org.apache.tapestry.ioc.annotations D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppM odule.java:[9,42] cannot find symbol symbol : class Id location: package org.apache.tapestry.ioc.annotations D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppM odule.java:[20,1] cannot find symbol symbol: class Id @Id(app) D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppM odule.java:[23,5] cannot find symbol symbol : class Contribute location: class org.example.myappT5.services.AppModule D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppM odule.java:[73,5] cannot find symbol symbol : class Contribute location: class org.example.myappT5.services.AppModule Any Idea ? Cyrille. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5] archetype quickstart error
Kolesnikov, Alexander GNI a écrit : But why you are using 5.0.3-SNAPSHOT? I tried 5.0.4 and it worked fine, I only had to slightly edit the resulting pom.xml. I've edited the pom.xml to change properties tapestry-release-version5.0.3-SNAPSHOT/tapestry-release-version /properties for properties tapestry-release-version5.0.4-SNAPSHOT/tapestry-release-version /properties but it does not work. Here are errors : [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) org.apache.tapestry:tapestry-core:jar:5.0.4-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.tapestry -DartifactId=tapestry-core \ -Dversion=5.0.4-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) org.example:my-appT5:war:1.0.0-SNAPSHOT 2) org.apache.tapestry:tapestry-core:jar:5.0.4-SNAPSHOT -- 1 required artifact is missing. for artifact: org.example:my-appT5:war:1.0.0-SNAPSHOT from the specified remote repositories: codehaus.snapshots (http://snapshots.repository.codehaus.org), apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), openqa (http://maven.openqa.org/), Maven Snapshots 2 (http://snapshots.repository.codehaus.org/), Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/), tapestry.javaforge (http://howardlewisship.com/repository), central (http://repo1.maven.org/maven2), dev.java.net (https://maven-repository.dev.java.net/nonav/repository/) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5] archetype quickstart error
Kolesnikov, Alexander GNI a écrit : No, that's not what I meant. First of all, I followed the instructions available here: http://tapestry.apache.org/tapestry5/quickstart/ I did exactly the same: following this quickstart page. The project was successfully built but then it does not compile because of errors : [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppModule.java:[8,42] cannot find symbol symbol : class Contribute location: package org.apache.tapestry.ioc.annotations D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppModule.java:[9,42] cannot find symbol symbol : class Id location: package org.apache.tapestry.ioc.annotations D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppModule.java:[20,1] cannot find symbol symbol: class Id @Id(app) D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppModule.java:[23,5] cannot find symbol symbol : class Contribute location: class org.example.myappT5.services.AppModule D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppModule.java:[73,5] cannot find symbol symbol : class Contribute location: class org.example.myappT5.services.AppModule Then I'd try to change the tapestry-release-version property to 5.0.4-SNAPSHOT but maven could not find the Tapestry version in repositories. And it's right, while browsing at http://people.apache.org/repo/m2-snapshot-repository/ the last Tapestry version is 5.0.3-SNAPSHOT. cyrille. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5] archetype quickstart error
Kolesnikov, Alexander GNI a écrit : Look, the quickstart specifies this command: mvn archetype:create -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=quickstart -DarchetypeVersion=5.0.4 -DgroupId=org.example -DartifactId=myapp -DpackageName=org.example.myapp -Dversion=1.0.0-SNAPSHOT See, the version is 5.0.4, not 5.0.4-SNAPSHOT, not 5.0.3-SNAPSHOT Thank you very much Alexander for your help. But ... I did : D:\essais.maven mvn archetype:create -DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository -Dar chetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=quickstart -DarchetypeVersion=5.0.4 -DgroupId=org.example -DartifactI d=my-appT5 -DpackageName=org.example.myappT5 -Dversion=1.0.0-SNAPSHOT and try too without the remoteRepositories but maven could not find the quickstart for 5.0.4. Here is the error : [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error creating from archetype Embedded error: Archetype does not exist: Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.tapestry -DartifactId=quickstart \ -Dversion=5.0.4 -Dpackaging=jar -Dfile=/path/to/file org.apache.tapestry:quickstart:jar:5.0.4 from the specified remote repositories: id0 (http://people.apache.org/repo/m2-snapshot-repository) -Original Message- From: #Cyrille37# [mailto:[EMAIL PROTECTED] Sent: 25 June 2007 11:41 To: Tapestry users Subject: Re: [T5] archetype quickstart error Kolesnikov, Alexander GNI a écrit : No, that's not what I meant. First of all, I followed the instructions available here: http://tapestry.apache.org/tapestry5/quickstart/ I did exactly the same: following this quickstart page. The project was successfully built but then it does not compile because of errors : [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppModule.java:[8,42] cannot find symbol symbol : class Contribute location: package org.apache.tapestry.ioc.annotations D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppModule.java:[9,42] cannot find symbol symbol : class Id location: package org.apache.tapestry.ioc.annotations D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppModule.java:[20,1] cannot find symbol symbol: class Id @Id(app) D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppModule.java:[23,5] cannot find symbol symbol : class Contribute location: class org.example.myappT5.services.AppModule D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppModule.java:[73,5] cannot find symbol symbol : class Contribute location: class org.example.myappT5.services.AppModule Then I'd try to change the tapestry-release-version property to 5.0.4-SNAPSHOT but maven could not find the Tapestry version in repositories. And it's right, while browsing at http://people.apache.org/repo/m2-snapshot-repository/ the last Tapestry version is 5.0.3-SNAPSHOT. cyrille. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [T5] archetype quickstart error
No, that's not what I meant. First of all, I followed the instructions available here: http://tapestry.apache.org/tapestry5/quickstart/ And created the project successfully. Then I tried to run it on Jetty, and that didn't work until I fixed two obvious problems in pom.xml. Will try to reproduce the whole thing when I have time. -Original Message- From: #Cyrille37# [mailto:[EMAIL PROTECTED] Sent: 25 June 2007 11:21 To: Tapestry users Subject: Re: [T5] archetype quickstart error Kolesnikov, Alexander GNI a écrit : But why you are using 5.0.3-SNAPSHOT? I tried 5.0.4 and it worked fine, I only had to slightly edit the resulting pom.xml. I've edited the pom.xml to change properties tapestry-release-version5.0.3-SNAPSHOT/tapestry-release-version /properties for properties tapestry-release-version5.0.4-SNAPSHOT/tapestry-release-version /properties but it does not work. Here are errors : [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) org.apache.tapestry:tapestry-core:jar:5.0.4-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.tapestry -DartifactId=tapestry-core \ -Dversion=5.0.4-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) org.example:my-appT5:war:1.0.0-SNAPSHOT 2) org.apache.tapestry:tapestry-core:jar:5.0.4-SNAPSHOT -- 1 required artifact is missing. for artifact: org.example:my-appT5:war:1.0.0-SNAPSHOT from the specified remote repositories: codehaus.snapshots (http://snapshots.repository.codehaus.org), apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), openqa (http://maven.openqa.org/), Maven Snapshots 2 (http://snapshots.repository.codehaus.org/), Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/), tapestry.javaforge (http://howardlewisship.com/repository), central (http://repo1.maven.org/maven2), dev.java.net (https://maven-repository.dev.java.net/nonav/repository/) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- CONFIDENTIALITY NOTICE: If you have received this email in error, please immediately notify the sender by e-mail at the address shown. This email transmission may contain confidential information. This information is intended only for the use of the individual(s) or entity to whom it is intended even if addressed incorrectly. Please delete it from your files if you are not the intended recipient. Thank you for your compliance. Copyright 2007 CIGNA == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [T5] archetype quickstart error
Look, the quickstart specifies this command: mvn archetype:create -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=quickstart -DarchetypeVersion=5.0.4 -DgroupId=org.example -DartifactId=myapp -DpackageName=org.example.myapp -Dversion=1.0.0-SNAPSHOT See, the version is 5.0.4, not 5.0.4-SNAPSHOT, not 5.0.3-SNAPSHOT -Original Message- From: #Cyrille37# [mailto:[EMAIL PROTECTED] Sent: 25 June 2007 11:41 To: Tapestry users Subject: Re: [T5] archetype quickstart error Kolesnikov, Alexander GNI a écrit : No, that's not what I meant. First of all, I followed the instructions available here: http://tapestry.apache.org/tapestry5/quickstart/ I did exactly the same: following this quickstart page. The project was successfully built but then it does not compile because of errors : [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppModule.java:[8,42] cannot find symbol symbol : class Contribute location: package org.apache.tapestry.ioc.annotations D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppModule.java:[9,42] cannot find symbol symbol : class Id location: package org.apache.tapestry.ioc.annotations D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppModule.java:[20,1] cannot find symbol symbol: class Id @Id(app) D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppModule.java:[23,5] cannot find symbol symbol : class Contribute location: class org.example.myappT5.services.AppModule D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppModule.java:[73,5] cannot find symbol symbol : class Contribute location: class org.example.myappT5.services.AppModule Then I'd try to change the tapestry-release-version property to 5.0.4-SNAPSHOT but maven could not find the Tapestry version in repositories. And it's right, while browsing at http://people.apache.org/repo/m2-snapshot-repository/ the last Tapestry version is 5.0.3-SNAPSHOT. cyrille. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- CONFIDENTIALITY NOTICE: If you have received this email in error, please immediately notify the sender by e-mail at the address shown. This email transmission may contain confidential information. This information is intended only for the use of the individual(s) or entity to whom it is intended even if addressed incorrectly. Please delete it from your files if you are not the intended recipient. Thank you for your compliance. Copyright 2007 CIGNA == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5] archetype quickstart error
Nick Westgate a écrit : repository snapshotsenabledtrue/enabled/snapshots idtapestry-snapshots/id urlhttp://people.apache.org/~hlship/tapestry-snapshot-repository//url /repository Yeah! That's work D:\essais.mavenmvn archetype:create -DremoteRepositories=http://people.apache.org/~hlship/tapestry-snapshot-reposi tory -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=quickstart -DarchetypeVersion=5.0.5-SNAPSHOT -DgroupId=org.example -DartifactId=my-appT5 -DpackageName=org.example.myappT5 -Dversion=1.0.0-SNAPSHOT then D:\essais.mavenmvn jetty:run and all stuff works fine ! Thanks. cyrille - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5] archetype quickstart error
Different archetypes have had different problems. Here are some tips: (1) Embedded error: Archetype does not exist: Unable to download the artifact from any repository Put this snapshot repository in your pom.xml: repository snapshotsenabledtrue/enabled/snapshots idtapestry-snapshots/id urlhttp://people.apache.org/~hlship/tapestry-snapshot-repository//url /repository (2) [INFO] Compilation failure D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppModule.java:[8,42] cannot find symbol symbol : class Contribute location: package org.apache.tapestry.ioc.annotations D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppModule.java:[9,42] cannot find symbol symbol : class Id location: package org.apache.tapestry.ioc.annotations IIRC, these annotations were removed. Edit your AppModule.java file and delete @Contribute and @Id occurances. If you use a more recent archetype, they won't be in the source anyway. Cheers, Nick. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5] archetype quickstart error
Nick Westgate a écrit : Put this snapshot repository in your pom.xml: repository snapshotsenabledtrue/enabled/snapshots idtapestry-snapshots/id urlhttp://people.apache.org/~hlship/tapestry-snapshot-repository//url Thanks a lot Nick, I did not know this url. At this url we can find the quickstart 5.0.5-SNAPSHOT, not the 5.0.4 one. So I'll try the 5.0.5-SNAPSHOT. cheers cyrille /repository (2) [INFO] Compilation failure D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppModule.java:[8,42] cannot find symbol symbol : class Contribute location: package org.apache.tapestry.ioc.annotations D:\essais.maven\my-appT5\src\main\java\org\example\myappT5\services\AppModule.java:[9,42] cannot find symbol symbol : class Id location: package org.apache.tapestry.ioc.annotations IIRC, these annotations were removed. Edit your AppModule.java file and delete @Contribute and @Id occurances. If you use a more recent archetype, they won't be in the source anyway. Cheers, Nick. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]