回答
我google'd了一下,碰到这个人来:
http://tapestry.apache.org/tapestry4.1/tutorials/index.html
其中有:
http://www.devshed.com/c/a/Apache/Creating-Your-First-Tapestry-Project/
而且,一个简单的Hello World:
http://tapestry.apache.org/tapestry4/QuickStart/index.html
http://tapestry.apache.org/tapestry4/QuickStart/helloworld.html
使用可用的Maven原型就像这样:
mvn archetype:generate -DarchetypeCatalog=http://tapestry.apache.org
,并选择可用的选项4.1。
在这里你可以找到Tapestry 4的文档。我希望它能帮助你。
步骤来创建挂毯项目与命令行
步骤来创建挂毯样品施加=>
STEP-1在系统中安装的行家。您必须有maven才能从挂毯创建示例项目。
STEP-2一旦你安装了Maven就会运行该命令= >> MVN原型:产生-DarchetypeCatalog = http://tapestry.apache.org
STEP-3当您运行此命令时,它会要求你选择原型,它会要求输入号码。你可以看到以下日志
1:http://tapestry.apache.org - > org.apache.tapestry:快速入门(挂毯5快速入门项目)
2:http://tapestry.apache.org - > org.apache.tapestry:挂毯原型(4.1.6挂毯原型)
所以,你要创建的挂毯5快速启动项目,然后输入1和如果你想创建的Tapestry 4.1.6然后输入2.
STE P-4现在根据您在步骤3中的选择,它将在列表中显示相应的版本。例如 - [因为我选择1中的路了我展示的5版本]如果您选择2它会告诉你相应]
选择版本:
- 5.0.19
- 5.1.0.5
- 5.2.6
5.3.7
所以从这个你应该输入的版本号。在此我选择数字4
STEP-5现在您的项目基地已准备就绪。现在你必须输入maven项目的一些基本信息。
Define value for property 'groupId': : com.sample.tapestry
Define value for property 'artifactId': : app
Define value for property 'version': 1.0-SNAPSHOT:
Define value for property 'package': com.sample.tapestry: : com.sample.tapestry.app
STEP-6最后它表明你Y: 时显示你喜欢这个按下回车键,你可以看到日志。它会告诉你,构建是成功的。
Finally your project is ready. You can delete the gradle files from the project.
You can use git init command to initialize the git in the project.
- 1. 挂毯4.1对话范围。可能?
- 2. python print“hello world”vs“hello world”
- 3. 升级:挂毯5.1.0.5到挂毯5.2.6
- 4. Hello World with Spring
- 5. Hello World和V8
- 6. erlang boss_db hello world?
- 7. Ada hello world example
- 8. AS3 Filesystem Hello World
- 9. PHP hello world
- 10. haskell leksah hello-world
- 11. ASP.NET Beginner(Hello World)
- 12. 编译Hello World
- 13. Hello World在mod_wsgi
- 14. android“hello world”error
- 15. Codeigniter&JQuery Hello world
- 16. openDatabase Hello World - 2
- 17. JavaScriptCore Hello world nightly
- 18. Dajax Hello World
- 19. MSDOS“Hello World”EXE
- 20. Linux Shellcode“Hello,World!”
- 21. JAVA ME Hello World
- 22. GreaseMonkey Hello World
- 23. python rdma“Hello World”
- 24. Hello World C++
- 25. Android Hello World Exception
- 26. CUDA hello world failed
- 27. Hello-World的FileProvider
- 28. FFMpeg hello world failed
- 29. lauch4j hello world program
- 30. Android OpenGL hello world