How to combine/consolidate multiple composer projects into one project?
Hi Gurus,
I have a taskspace application which has different versions. For each version there is a composer project. Since the application is on production we have to use update releases, therefore i have to install each composer project, UI (some xml & customizations) and release related DARs in sequential order.
I would like to consolidate that and aswell automate that. So is there any way where i can acheive this in composer, if so can you provide me steps on how this can be done.
Scenario:
1. Composer project 1
2. Composer project 2
3. Composer project 3
instead of installing 3 times, can i make into one project which has all the 3 project reference and install in order.
Comments
-
Personally I am not a fan of 1 big composer project. Much perfer to have them split up, e.g. one for rarely change configurations (groups, folders, permission sets,... ), second for types and lifecycles (they change more often), third for BOF stuff.... it changes all the time.
Explain more why your current setup is such a problem?
For automation, take a look at end of Composer Guide. There are Ant scripts available to package and deploy dar files.
<target name="build" depends="clean" description="Copy dar src to tmp workarea. Import project into headless ecplise, build and generate dar"> <echo message="dar.workspace: ${dar.workspace}" level="info" /> <copy todir="${dar.workspace}/${dar.project}"> <fileset dir="${dar.projects.dir}/${dar.project}"> <exclude name="**/.svn" /> <exclude name="**/bin-dar/*.dar" /> </fileset> </copy> <emc.importProject dmproject="${dar.project}" /> <emc.build dmproject="${dar.project}" /> <emc.dar dmproject="${dar.project}" manifest="bin/dar/default.dardef.artifact" dar="${dar.pakage}" /></target>
<target name="deploy_with_locales" if="dctm.dar.locales.dir"> <emc.install dar="${dctm.dar.src.dir}/${dctm.dar}" docbase="${dctm.docbaseName}" username="${dctm.userName}" password="${dctm.loginTix}" domain="${dctm.domain}" localesFolder="${dctm.dar.locales.dir}"/> </target>
Headless Composer is included with 6x Content Servers, and that includes Ant. As a Content Server already has java, you have everything you need to do a scripted install.
set ECLIPSE=%DM_HOME%\install\composer\ComposerHeadless
0 -
Hi Brian,
Thanks for your response, as my setup has the same webapps with different patches.. which i need to consolidate to one..
i thought if i can make it using composer it would be better.
0 -
I believe your question is already answered by brain.
As Brian suggested you can write your own scripts for automated installation and keep all the projects separately.
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 152 General Questions
- 148 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories