Advertisement
Guest User

It's easy to add plugins to #SeamForge

a guest
Apr 2nd, 2011
561
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.57 KB | None | 0 0
  1. ____ _____
  2. / ___| ___ __ _ _ __ ___ | ___|__ _ __ __ _ ___
  3. \___ \ / _ \/ _` | '_ ` _ \ | |_ / _ \| '__/ _` |/ _ \ \\
  4. ___) | __/ (_| | | | | | | | _| (_) | | | (_| | __/ //
  5. |____/ \___|\__,_|_| |_| |_| |_| \___/|_| \__, |\___|
  6. |___/
  7. [no project] Desktop $
  8. [no project] Desktop $ new-project --named example --topLevelPackage com.example
  9. Use [~/Desktop/example] as project directory? [Y/n] y
  10. Wrote ~/Desktop/example/src/main/resources/META-INF/forge.xml
  11. ***SUCCESS*** Created project [example] in new working directory [~/Desktop/example]
  12. [example] example $
  13. [example] example $ prettyfaces setup
  14. ***ERROR*** No such command: prettyfaces
  15. [example] example $
  16. [example] example $
  17. [example] example $ forge git-plugin git://github.com/ocpsoft/prettyfaces-forge-plugin.git
  18.  
  19. ***INFO*** Checking out plugin source files to [/var/temp/4147588585966409152/repo] via 'git'
  20. ***INFO*** Invoking build with underlying build system.
  21. [INFO] Scanning for projects...
  22. [INFO]
  23. [INFO] ------------------------------------------------------------------------
  24. [INFO] Building PrettyFaces Forge Plugin 1.0.0-SNAPSHOT
  25. [INFO] ------------------------------------------------------------------------
  26. [INFO]
  27. [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ prettyfaces-plugin ---
  28. [INFO]
  29. [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ prettyfaces-plugin ---
  30. [INFO] Copying 2 resources
  31. [INFO]
  32. [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ prettyfaces-plugin ---
  33. [INFO] Compiling 6 source files to /var/temp/4147588585966409152/repo/target/classes
  34. [INFO][INFO] Building jar: /var/temp/4147588585966409152/repo/target/prettyfaces-plugin-1.0.0-SNAPSHOT.jar
  35. [INFO]
  36. [INFO] ------------------------------------------------------------------------
  37. [INFO] BUILD SUCCESS
  38. [INFO] ------------------------------------------------------------------------
  39. [INFO] Total time: 5.039s
  40. [INFO] Finished at: Sat Apr 02 12:23:55 EDT 2011
  41. [INFO] Final Memory: 23M/81M
  42. [INFO] ------------------------------------------------------------------------
  43.  
  44. ***SUCCESS*** Build successful.
  45. ***INFO*** Installing plugin artifact.
  46.  
  47. Wrote /Users/lbaxter/.forge/plugins/com.ocpsoft.forge$prettyfaces-plugin$1$1.0.0-SNAPSHOT.jar
  48.  
  49. ***SUCCESS*** Installed from [git://github.com/ocpsoft/prettyfaces-forge-plugin.git] successfully.
  50. [example] example $
  51. [example] example $
  52. [example] example $ prettyfaces setup
  53.  
  54. Install PrettyFaces for which technology?
  55.  
  56. 1 - [JSF 1.1 and Servlet <= 2.3]
  57. 2 - [JSF 1.2 and Servlet >= 2.4]
  58. 3 - [JSF 2.0 and Servlet >= 2.5]
  59. 4 - [Java EE 6 and Servlet >= 3.0]*
  60.  
  61. Choose an option by typing the number of the selection [*-default]: 4
  62. Install which version?
  63.  
  64. 1 - [com.ocpsoft:prettyfaces-jsf2:3.0.0]
  65. 2 - [com.ocpsoft:prettyfaces-jsf2:3.0.1]
  66. 3 - [com.ocpsoft:prettyfaces-jsf2:3.1.0]
  67. 4 - [com.ocpsoft:prettyfaces-jsf2:3.2.0]*
  68.  
  69. Choose an option by typing the number of the selection [*-default]: 4
  70. Wrote ~/Desktop/example/src/main/webapp/WEB-INF/pretty-config.xml
  71. ***SUCCESS*** Installed facet [com.ocpsoft.forge.prettyfaces] successfully.
  72. ***SUCCESS*** PrettyFaces is configured.
  73.  
  74. [example] example $
  75. [example] example $
  76. [example] example $ prettyfaces //<TAB>
  77.  
  78. faces-message-propagation list-mappings setup
  79. action mapping remove-mapping
  80.  
  81. [example] example $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement