[jboss-jira] [JBoss JIRA] Resolved: (EJBTHREE-1747) Make the individual tutorials runnable through Maven
jaikiran pai (JIRA)
jira-events at lists.jboss.org
Mon Mar 2 05:04:00 EST 2009
[ https://jira.jboss.org/jira/browse/EJBTHREE-1747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jaikiran pai resolved EJBTHREE-1747.
------------------------------------
Fix Version/s: 1.1.2
Resolution: Done
r84919. Added profiles to run the individual tutorails. The profile "RunSingleTutorial" can be used to run one tutorial at a time.
Ex:
cd ejb3trunk/docs/tutorial
cd blob
mvn clean install -PRunSingleTutorial
> Make the individual tutorials runnable through Maven
> ----------------------------------------------------
>
> Key: EJBTHREE-1747
> URL: https://jira.jboss.org/jira/browse/EJBTHREE-1747
> Project: EJB 3.0
> Issue Type: Task
> Components: docs
> Affects Versions: 1.1.1
> Environment: JBoss-AS 5.0.x
> Reporter: jaikiran pai
> Assignee: jaikiran pai
> Fix For: 1.1.2
>
>
> The EJB3 tutorials currently can be built and run through Ant and Maven. However Maven support is not that great and currently works as follows:
> 1) An aggregator (jboss-ejb3-tutorial-parent) first triggers the AS to start (through a "init" module)
> 2) All the tutorials are then run one after other
> 3) The aggregator then finally uses a "shutdown" module to stop the server.
> This doesn't allow a single tutorial to be run through Maven, because the AS is started outside the tutorial.
> To fix this, maven profile(s) need to be created. Ex: A "RunAllTutorial" profile which does the same steps as above and a "RunOneTutorial" which is responsible for running the single tutorial (with the additional steps of starting/stopping the AS).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list