Tapestry Quickstart problems

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Tapestry Quickstart problems

Svein-Erik Løken
The Quickstart project demonstrates how fast it is to start developing a Tapestry project.

I have been using it for a new project, but could not debug JavaScript. (I am using IntelliJ). I could not understand why, but after several hour a found out that configuration.add(SymbolConstants.MINIFICATION_ENABLED, true); was set in AppModule.java. I don't understand why this is set. I should not be set!!! If SymbolConstants.PRODUCTION_MODE= true then SymbolConstants.MINIFICATION_ENABLED is set to true.

Using maven3  I got error:

mvn archetype:generate -DarchetypeCatalog=http://tapestry.apache.org
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate (default-cli) on project standalone-pom: archetypeCatalog 'http://tapestry.apache.org' is not supported anymore. Please read the plugin documentation for details. -> [Help 1]

It is working with:
mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeCatalog=https://repository.apache.org/content/repositories/staging

If I used same values as in https://tapestry.apache.org/getting-started.html I was asked two times:
mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeCatalog= http://tapestry.apache.org 
or
mvn org.apache.maven.plugins:maven-archetype-plugin:2.2:generate -DarchetypeCatalog= http://tapestry.apache.org

Choose archetype:
1: http://tapestry.apache.org -> org.apache.tapestry:quickstart (Tapestry 5 Quickstart Project)
2: http://tapestry.apache.org -> org.apache.tapestry:tapestry-archetype (Tapestry 4.1.6 Archetype)
Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): : 1
Choose org.apache.tapestry:quickstart version:
1: 5.0.19
2: 5.1.0.5
3: 5.2.6
4: 5.3.7
5: 5.4.1
Choose a number: 5: 5
Define value for property 'groupId': : com.example
Define value for property 'artifactId': : newapp
Define value for property 'version':  1.0-SNAPSHOT: :
Define value for property 'package':  com.example: : com.example.newapp
Confirm properties configuration:
groupId: com.example
artifactId: newapp
version: 1.0-SNAPSHOT
package: com.example.newapp
 Y: : Y
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype: quickstart:5.4.1
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: com.example
[INFO] Parameter: artifactId, Value: newapp
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: package, Value: com.example.newapp
[INFO] Parameter: packageInPathFormat, Value: com/example/newapp
[INFO] Parameter: package, Value: com.example.newapp
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: groupId, Value: com.example
[INFO] Parameter: artifactId, Value: newapp
[WARNING] Don't override file C:\JacDev\tmp\New folder\newapp\src\test\java
[WARNING] Don't override file C:\JacDev\tmp\New folder\newapp\src\main\webapp
[WARNING] Don't override file C:\JacDev\tmp\New folder\newapp\src\main\resources\com\example\newapp
[WARNING] Don't override file C:\JacDev\tmp\New folder\newapp\src\test\resources
[WARNING] Don't override file C:\JacDev\tmp\New folder\newapp\src\test\conf
[WARNING] Don't override file C:\JacDev\tmp\New folder\newapp\src\site
[INFO] project created from Archetype in dir: C:\JacDev\tmp\New folder\newapp
[INFO]
[INFO] >>> maven-archetype-plugin:2.4:generate (default-cli) @ standalone-pom >>>
[INFO]
[INFO] <<< maven-archetype-plugin:2.4:generate (default-cli) @ standalone-pom <<<
[INFO]
[INFO] --- maven-archetype-plugin:2.4:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Interactive mode
[INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
Choose archetype:
1: http://tapestry.apache.org -> org.apache.tapestry:quickstart (Tapestry 5 Quickstart Project)
2: http://tapestry.apache.org -> org.apache.tapestry:tapestry-archetype (Tapestry 4.1.6 Archetype)
Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): :

Do you agree? Should I file this as bugs to Jira?

S-E

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Tapestry Quickstart problems

Thiago H. de Paula Figueiredo
Hi!

Yes, Jira tickets, please.

On Sat, Apr 15, 2017 at 5:43 PM, Svein-Erik Løken <[hidden email]> wrote:

> The Quickstart project demonstrates how fast it is to start developing a
> Tapestry project.
>
> I have been using it for a new project, but could not debug JavaScript. (I
> am using IntelliJ). I could not understand why, but after several hour a
> found out that configuration.add(SymbolConstants.MINIFICATION_ENABLED,
> true); was set in AppModule.java. I don't understand why this is set. I
> should not be set!!! If SymbolConstants.PRODUCTION_MODE= true then
> SymbolConstants.MINIFICATION_ENABLED is set to true.
>
> Using maven3  I got error:
>
> mvn archetype:generate -DarchetypeCatalog=http://tapestry.apache.org
> [ERROR] Failed to execute goal org.apache.maven.plugins:
> maven-archetype-plugin:3.0.1:generate (default-cli) on project
> standalone-pom: archetypeCatalog 'http://tapestry.apache.org' is not
> supported anymore. Please read the plugin documentation for details. ->
> [Help 1]
>
> It is working with:
> mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate
> -DarchetypeCatalog=https://repository.apache.org/content/
> repositories/staging
>
> If I used same values as in https://tapestry.apache.org/
> getting-started.html I was asked two times:
> mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate
> -DarchetypeCatalog= http://tapestry.apache.org
> or
> mvn org.apache.maven.plugins:maven-archetype-plugin:2.2:generate
> -DarchetypeCatalog= http://tapestry.apache.org
>
> Choose archetype:
> 1: http://tapestry.apache.org -> org.apache.tapestry:quickstart (Tapestry
> 5 Quickstart Project)
> 2: http://tapestry.apache.org -> org.apache.tapestry:tapestry-archetype
> (Tapestry 4.1.6 Archetype)
> Choose a number or apply filter (format: [groupId:]artifactId, case
> sensitive contains): : 1
> Choose org.apache.tapestry:quickstart version:
> 1: 5.0.19
> 2: 5.1.0.5
> 3: 5.2.6
> 4: 5.3.7
> 5: 5.4.1
> Choose a number: 5: 5
> Define value for property 'groupId': : com.example
> Define value for property 'artifactId': : newapp
> Define value for property 'version':  1.0-SNAPSHOT: :
> Define value for property 'package':  com.example: : com.example.newapp
> Confirm properties configuration:
> groupId: com.example
> artifactId: newapp
> version: 1.0-SNAPSHOT
> package: com.example.newapp
>  Y: : Y
> [INFO] ------------------------------------------------------------
> ----------------
> [INFO] Using following parameters for creating project from Archetype:
> quickstart:5.4.1
> [INFO] ------------------------------------------------------------
> ----------------
> [INFO] Parameter: groupId, Value: com.example
> [INFO] Parameter: artifactId, Value: newapp
> [INFO] Parameter: version, Value: 1.0-SNAPSHOT
> [INFO] Parameter: package, Value: com.example.newapp
> [INFO] Parameter: packageInPathFormat, Value: com/example/newapp
> [INFO] Parameter: package, Value: com.example.newapp
> [INFO] Parameter: version, Value: 1.0-SNAPSHOT
> [INFO] Parameter: groupId, Value: com.example
> [INFO] Parameter: artifactId, Value: newapp
> [WARNING] Don't override file C:\JacDev\tmp\New folder\newapp\src\test\java
> [WARNING] Don't override file C:\JacDev\tmp\New
> folder\newapp\src\main\webapp
> [WARNING] Don't override file C:\JacDev\tmp\New folder\newapp\src\main\
> resources\com\example\newapp
> [WARNING] Don't override file C:\JacDev\tmp\New folder\newapp\src\test\
> resources
> [WARNING] Don't override file C:\JacDev\tmp\New folder\newapp\src\test\conf
> [WARNING] Don't override file C:\JacDev\tmp\New folder\newapp\src\site
> [INFO] project created from Archetype in dir: C:\JacDev\tmp\New
> folder\newapp
> [INFO]
> [INFO] >>> maven-archetype-plugin:2.4:generate (default-cli) @
> standalone-pom >>>
> [INFO]
> [INFO] <<< maven-archetype-plugin:2.4:generate (default-cli) @
> standalone-pom <<<
> [INFO]
> [INFO] --- maven-archetype-plugin:2.4:generate (default-cli) @
> standalone-pom ---
> [INFO] Generating project in Interactive mode
> [INFO] No archetype defined. Using maven-archetype-quickstart
> (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
> Choose archetype:
> 1: http://tapestry.apache.org -> org.apache.tapestry:quickstart (Tapestry
> 5 Quickstart Project)
> 2: http://tapestry.apache.org -> org.apache.tapestry:tapestry-archetype
> (Tapestry 4.1.6 Archetype)
> Choose a number or apply filter (format: [groupId:]artifactId, case
> sensitive contains): :
>
> Do you agree? Should I file this as bugs to Jira?
>
> S-E
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
Thiago
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Tapestry Quickstart problems

Svein-Erik Løken
Loading...