[ http://jira.jboss.com/jira/browse/JBPORTAL-187?page=history ]
Julien Viet updated JBPORTAL-187:
---------------------------------
Assign To: Polina Alber
> JBoss Portal setup the database and files on deploy
> ---------------------------------------------------
>
> Key: JBPORTAL-187
> URL: http://jira.jboss.com/jira/browse/JBPORTAL-187
> Project: JBoss Portal
> Type: Task
> Versions: 2.0 RC
> Reporter: Julien Viet
> Assignee: Polina Alber
> Fix For: 2.0 RC
>
> Original Estimate: 4 days
> Remaining: 4 days
>
> - it is an optional service (setup.sar) that is nested within
> portal-core.sar, the goal is to put it in the default configuration. But as
> this config is exploded, it can be easily removed from it. For instance once
> it is setup, it can be removed. Another example are people that prefer to do
> a manual installation and thus does not need it.
> - the setup.sar contains all the basic portal state, which means : tables SQL
> statements, insert SQL statements and also the files for Slide.
> - that setup.sar must be configurable and must not be tied in particular to
> the module core as it will be used also for other modules (like forums).
> Therefore it must be done as a separate module in the build (like
> jboss-portal-2.0/core).
> - the setup of the state must be done on the service startService() phase.
> - the insertion of data must be done only if no data already exists. For
> instance if the portal data directory already exists, no file must be copied.
> Or if the tables already exist, the sql insertions must be bypassed
> - the setup.sar must define an XML file format that will describe the data to
> setup : SQL statements and files to copy. Perhaps it could be possible to
> execute ANT build files from with the start, since ANT already has a lot of
> tasks. This is an option to explore imho
> - the test cases must be written
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development