svnno****@sourc*****
svnno****@sourc*****
2007年 5月 7日 (月) 18:03:33 JST
Revision: 95 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=95 Author: shinsuke Date: 2007-05-07 18:03:32 +0900 (Mon, 07 May 2007) Log Message: ----------- added j2 components build task. run ant build.portal.component if changing pal version. Modified Paths: -------------- pal-portal/trunk/build.xml pal-portal/trunk/portal/build.xml -------------- next part -------------- Modified: pal-portal/trunk/build.xml =================================================================== --- pal-portal/trunk/build.xml 2007-05-07 09:01:12 UTC (rev 94) +++ pal-portal/trunk/build.xml 2007-05-07 09:03:32 UTC (rev 95) @@ -167,6 +167,13 @@ /> </target> + <target name="build.portal.components" + description="--> Build Portal Components"> + <ant antfile="${portal.home}/build.xml" + target="build.components" + /> + </target> + <!-- =================================================================== --> <!-- DEPLOY PORTAL AND PORTLETS --> <!-- =================================================================== --> Modified: pal-portal/trunk/portal/build.xml =================================================================== --- pal-portal/trunk/portal/build.xml 2007-05-07 09:01:12 UTC (rev 94) +++ pal-portal/trunk/portal/build.xml 2007-05-07 09:03:32 UTC (rev 95) @@ -246,11 +246,23 @@ failonerror="true" dir="${portal.dir}" > - <arg line="${shell.options} 'maven ${jetspeed2.build.options} ${jetspeed2.deploy.options} allBuild'"/> + <arg line="${shell.options} 'maven ${jetspeed2.build.options} ${jetspeed2.deploy.options} minBuild'"/> </exec> </target> + <target name="build.components" depends="setup.shell" + description="--> Build Portal"> + + <exec + executable="${shell.cmd}" + failonerror="true" + dir="${portal.dir}" + > + <arg line="${shell.options} 'maven ${jetspeed2.build.options} ${jetspeed2.deploy.options} -p core-build.xml jetspeed2:jar:install'"/> + </exec> + + </target> <!-- =================================================================== --> <!-- DEPLOY PORTAL --> <!-- =================================================================== -->