You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bridges-commits@portals.apache.org by pm...@apache.org on 2007/10/15 03:45:05 UTC
svn commit: r584653 -
/portals/bridges/trunk/applications/andromda-struts/readme.txt
Author: pmd
Date: Sun Oct 14 18:45:04 2007
New Revision: 584653
URL: http://svn.apache.org/viewvc?rev=584653&view=rev
Log:
Clarified the location of generated files.
Removed unsupported maven commands.
Added mailing list to the support blurb.
Modified:
portals/bridges/trunk/applications/andromda-struts/readme.txt
Modified: portals/bridges/trunk/applications/andromda-struts/readme.txt
URL: http://svn.apache.org/viewvc/portals/bridges/trunk/applications/andromda-struts/readme.txt?rev=584653&r1=584652&r2=584653&view=diff
==============================================================================
--- portals/bridges/trunk/applications/andromda-struts/readme.txt (original)
+++ portals/bridges/trunk/applications/andromda-struts/readme.txt Sun Oct 14 18:45:04 2007
@@ -70,9 +70,12 @@
| |
| +-- pom.xml
| | lists common dependencies
- | +-- /target
- | shared resources and java classes are generated here,
+ | +-- /model
+ | shared resources and java sources are generated here,
| such as value objects and exceptions
+ | +-- /target
+ | class files are compiled here and the common jar is
+ | packaged here
|
+-- /core
| |
@@ -87,16 +90,14 @@
| | generated here, they will not be overwritten upon
| | regeneration; this includes the service, DAO and
| | entity implementations
- | +-- /target
- | the Spring resources and classes here will be
+ | +-- /model
+ | the Spring resources and java sources here will be
| overwriten each time AndroMDA generates new code
- | using the Spring cartridge; this includes both
- | the Hibernate entities and the correponding
- | *.hbm.xml mapping files as well as the service
- | and DAO base classes. You'll also find the DDL
- | for creating and dropping your schema within this
- | directory.
- |
+ | using the Spring cartridge
+ | +-- /target
+ | class files are compiled here and the core jar is
+ | packaged here
+ |
+-- /web
| |
| | The WEB module collects all resources and classes
@@ -111,6 +112,9 @@
| | you might consider putting your own JSPs here to
| | be copied over the generated ones when bundling the
| | .war file
+ | +-- /model
+ | | the web sources, struts config, and messages are generated
+ | | here
| +-- /target
| a deployable war is bundled here
|
@@ -125,19 +129,10 @@
simply builds all modules
- %> mvn -f web/pom.xml -Ddeploy
-
- collects all artifacts and builds a deployable .war which is then
- deployed
-
%> mvn clean
cleans all generated files from each target directory
- %> mvn install -Ddeploy
-
- rebuilds the entire application and deploys
-
%> mvn install -Denv=prod
builds the entire application for the production environment, possible 'env' property values
@@ -145,10 +140,6 @@
any value for this property will build the application for the local configuration
(more info at http://maven.apache.org/guides/introduction/introduction-to-profiles.html)
- %> mvn -f web/pom.xml andromdapp:undeploy -o
-
- undeploys the war from your app server
-
%> mvn -N andromdapp:build -Dmodules=core (or mvn -f core/pom.xml)
only build the core module
@@ -164,31 +155,6 @@
web modules); this goal asks for confirmation, but be careful calling it
anyway as you will lose your manually edited files
- %> mvn -f core/pom.xml andromdapp:schema -Dtasks=create
-
- generates the DDL create code and subsequently tells the database
- to create the schema for the entities
-
- %> mvn -f core/pom.xml andromdapp:schema -Dtasks=drop
-
- generates the DDL drop code and subsequently tells the database
- to drop the schema for the entities
-
- %> mvn -f core/pom.xml andromdapp:schema -Dtasks=drop,create
-
- generates the drop and create DDL code and subsequently tells the database
- to drop and then create the schema for the entities
-
- %> mvn -f core/pom.xml andromdapp:schema -Dtasks=update
-
- attempts to update the database schema with incremental changes, might not work with all JDBC drivers
- see http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#toolsetguide-s1-6
-
- %> mvn -f core/pom.xml andromdapp:schema -Dtasks=validate
-
- validates the current Hibernate mappings against the database, you can also use this to simply
- check whether or not the mappings have been properly generated (in case of customizations)
-
%> mvn -N andromdapp:build -Dmodules=mda:[andromda:start-server] (or mvn -f mda/pom.xml andromda:start-server)
starts the AndroMDA server, with this server running you will be able
@@ -204,20 +170,20 @@
runs AndroMDA on your model and thereby generating files in
the subdirectories of the existing modules
- %> mvn -N andromdapp:build -Dmodules=mda -Dfilter=java,hibernate (or mvn -f mda/pom.xml -Dfilter=java,hibernate)
+ %> mvn -N andromdapp:build -Dmodules=mda -Dfilter=java,bpm4struts (or mvn -f mda/pom.xml -Dfilter=java,bpm4struts)
- runs AndroMDA, but this time only using the Java and Hibernate
+ runs AndroMDA, but this time only using the Java and BPM4Struts
cartridges (in that order)
- %> mvn -N andromdapp:build -Dmodules=mda -Dfilter=~java,hibernate (or mvn -f mda/pom.xml -Dfilter=~java,hibernate)
+ %> mvn -N andromdapp:build -Dmodules=mda -Dfilter=~java,bpm4struts (or mvn -f mda/pom.xml -Dfilter=~java,bpm4struts)
runs AndroMDA, but this time using all cartridges *except*
- the Java and Hibernate cartridges
+ the Java and BPM4Struts cartridges
- %> mvn -N andromdapp:build -Dmodules=mda,core,web -Dfilter=java -Ddeploy
+ %> mvn -N andromdapp:build -Dmodules=mda,core,web -Dfilter=java
runs AndroMDA using only the Java cartridge, rebuilds the core
- module and web module and deploys afterwards
+ module and web module
%> mvn -N andromdapp:build -Dconsole
@@ -238,8 +204,11 @@
(*nix)
/home/Philip Mark Donaghy/.maven/repository/network-monitor/
- For questions or feature requests please use our forum:
- http://forum.andromda.org/
+ For questions or feature requests please use our mailing list or the Andromda forum:
+
+ bridges-user-subscribe@portals.apache.org
+ bridges-user-unsubscribe@portals.apache.org
+ http://forum.andromda.org/
Good luck!
---------------------------------------------------------------------
To unsubscribe, e-mail: bridges-commits-unsubscribe@portals.apache.org
For additional commands, e-mail: bridges-commits-help@portals.apache.org