[jboss-cvs] JBossBlog SVN: r121 - in trunk: blog-view and 1 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Jun 21 06:06:50 EDT 2007
Author: adamw
Date: 2007-06-21 06:06:50 -0400 (Thu, 21 Jun 2007)
New Revision: 121
Added:
trunk/blog-view/
trunk/blog-view/blog-core.iml
trunk/blog-view/build.xml
trunk/blog-view/src/
Removed:
trunk/blog-core/
trunk/blog-view/blog-core.iml
trunk/blog-view/build.xml
trunk/blog-view/src/
trunk/blog-view/src/java/org/jboss/blog/service/store/
Log:
Refactoring
Copied: trunk/blog-view (from rev 119, trunk/blog-core)
Deleted: trunk/blog-view/blog-core.iml
===================================================================
--- trunk/blog-core/blog-core.iml 2007-06-18 19:04:03 UTC (rev 119)
+++ trunk/blog-view/blog-core.iml 2007-06-21 10:06:50 UTC (rev 121)
@@ -1,239 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module version="4" relativePaths="true" type="J2EE_WEB_MODULE">
- <component name="AppServerSpecificValidatorsManager" />
- <component name="ModuleRootManager" />
- <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_4" inherit-compiler-output="true">
- <exclude-output />
- <exclude-exploded />
- <content url="file://$MODULE_DIR$">
- <sourceFolder url="file://$MODULE_DIR$/src/java" isTestSource="false" />
- </content>
- <orderEntry type="inheritedJdk" />
- <orderEntry type="sourceFolder" forTests="false" />
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://$APPLICATION_HOME_DIR$/lib/javaee.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="library" name="jsf" level="project" />
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../lib/facelets/jsf-facelets-portlet.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../lib/facelets/jsf-facelets.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../lib/jboss/jboss-jmx.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../lib/jboss/jboss-system.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../lib/portlet/portlet-api-lib.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../lib/rome/jdom-1.0.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="library" name="xdoclet" level="project" />
- <orderEntry type="module" module-name="blog-common" />
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../lib/jboss-jaae/jboss-acl.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../lib/jboss-jaae/jboss-identity-management.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../lib/jboss-jaae/jboss-security-common.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../lib/jboss-portal/portal-faces-lib.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../lib/jboss-portal/portal-identity-lib.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../lib/rome/rome-0.9.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntryProperties />
- </component>
- <component name="WebModuleBuildComponent">
- <setting name="EXPLODED_URL" value="file://" />
- <setting name="EXPLODED_ENABLED" value="false" />
- <setting name="JAR_URL" value="file://" />
- <setting name="JAR_ENABLED" value="false" />
- <setting name="SYNC_EXPLODED_DIR" value="true" />
- <setting name="BUILD_MODULE_ON_FRAME_DEACTIVATION" value="false" />
- <setting name="BUILD_EXTERNAL_DEPENDENCIES" value="false" />
- <setting name="RUN_JASPER_VALIDATION" value="true" />
- </component>
- <component name="WebModuleProperties">
- <containerElement type="module" name="blog-common">
- <attribute name="method" value="0" />
- <attribute name="URI" value="/WEB-INF/classes" />
- </containerElement>
- <containerElement type="module" name="blog-model">
- <attribute name="method" value="1" />
- <attribute name="URI" value="/WEB-INF/classes" />
- </containerElement>
- <containerElement type="library" level="module">
- <attribute name="method" value="1" />
- <attribute name="URI" value="/WEB-INF/lib/jsf-facelets-portlet.jar" />
- <url>jar://$MODULE_DIR$/../lib/facelets/jsf-facelets-portlet.jar!/</url>
- </containerElement>
- <containerElement type="library" level="module">
- <attribute name="method" value="1" />
- <attribute name="URI" value="/WEB-INF/lib/jsf-facelets.jar" />
- <url>jar://$MODULE_DIR$/../lib/facelets/jsf-facelets.jar!/</url>
- </containerElement>
- <containerElement type="library" level="module">
- <attribute name="method" value="1" />
- <attribute name="URI" value="/WEB-INF/lib/jboss-acl.jar" />
- <url>jar://$MODULE_DIR$/../lib/jboss-jaae/jboss-acl.jar!/</url>
- </containerElement>
- <containerElement type="library" level="module">
- <attribute name="method" value="1" />
- <attribute name="URI" value="/WEB-INF/lib/jboss-identity-management.jar" />
- <url>jar://$MODULE_DIR$/../lib/jboss-jaae/jboss-identity-management.jar!/</url>
- </containerElement>
- <containerElement type="library" level="module">
- <attribute name="method" value="1" />
- <attribute name="URI" value="/WEB-INF/lib/jboss-security-common.jar" />
- <url>jar://$MODULE_DIR$/../lib/jboss-jaae/jboss-security-common.jar!/</url>
- </containerElement>
- <containerElement type="library" level="module">
- <attribute name="method" value="1" />
- <attribute name="URI" value="/WEB-INF/lib/portal-faces-lib.jar" />
- <url>jar://$MODULE_DIR$/../lib/jboss-portal/portal-faces-lib.jar!/</url>
- </containerElement>
- <containerElement type="library" level="module">
- <attribute name="method" value="1" />
- <attribute name="URI" value="/WEB-INF/lib/portal-identity-lib.jar" />
- <url>jar://$MODULE_DIR$/../lib/jboss-portal/portal-identity-lib.jar!/</url>
- </containerElement>
- <containerElement type="library" level="module">
- <attribute name="method" value="0" />
- <attribute name="URI" value="/WEB-INF/lib/jboss-j2ee.jar" />
- <url>jar://$MODULE_DIR$/../lib/jboss/jboss-j2ee.jar!/</url>
- </containerElement>
- <containerElement type="library" level="module">
- <attribute name="method" value="1" />
- <attribute name="URI" value="/WEB-INF/lib/jboss-jmx.jar" />
- <url>jar://$MODULE_DIR$/../lib/jboss/jboss-jmx.jar!/</url>
- </containerElement>
- <containerElement type="library" level="module">
- <attribute name="method" value="1" />
- <attribute name="URI" value="/WEB-INF/lib/jboss-system.jar" />
- <url>jar://$MODULE_DIR$/../lib/jboss/jboss-system.jar!/</url>
- </containerElement>
- <containerElement type="library" level="module">
- <attribute name="method" value="1" />
- <attribute name="URI" value="/WEB-INF/lib/portlet-api-lib.jar" />
- <url>jar://$MODULE_DIR$/../lib/portlet/portlet-api-lib.jar!/</url>
- </containerElement>
- <containerElement type="library" level="module">
- <attribute name="method" value="1" />
- <attribute name="URI" value="/WEB-INF/lib/jdom-1.0.jar" />
- <url>jar://$MODULE_DIR$/../lib/rome/jdom-1.0.jar!/</url>
- </containerElement>
- <containerElement type="library" level="module">
- <attribute name="method" value="0" />
- <attribute name="URI" value="/WEB-INF/lib/rome-0.9.jar" />
- <url>jar://$MODULE_DIR$/../lib/rome/rome-0.9.jar!/</url>
- </containerElement>
- <containerElement type="library" level="module">
- <attribute name="method" value="0" />
- <attribute name="URI" value="<N/A>" />
- <url>jar://$APPLICATION_HOME_DIR$/lib/javaee.jar!/</url>
- </containerElement>
- <containerElement type="library" name="jsf" level="project">
- <attribute name="method" value="0" />
- <attribute name="URI" value="<N/A>" />
- </containerElement>
- <containerElement type="library" name="xdoclet" level="project">
- <attribute name="method" value="0" />
- <attribute name="URI" value="/WEB-INF/lib" />
- </containerElement>
- <deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/src/web/WEB-INF/web.xml" optional="false" version="2.3" />
- <webroots>
- <root url="file://$MODULE_DIR$/src/web" relative="/" />
- </webroots>
- </component>
- <component name="WeblogicWebModuleProperties" />
-</module>
-
Copied: trunk/blog-view/blog-core.iml (from rev 120, trunk/blog-core/blog-core.iml)
===================================================================
--- trunk/blog-view/blog-core.iml (rev 0)
+++ trunk/blog-view/blog-core.iml 2007-06-21 10:06:50 UTC (rev 121)
@@ -0,0 +1,239 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module version="4" relativePaths="true" type="J2EE_WEB_MODULE">
+ <component name="AppServerSpecificValidatorsManager" />
+ <component name="ModuleRootManager" />
+ <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_4" inherit-compiler-output="true">
+ <exclude-output />
+ <exclude-exploded />
+ <content url="file://$MODULE_DIR$">
+ <sourceFolder url="file://$MODULE_DIR$/src/java" isTestSource="false" />
+ </content>
+ <orderEntry type="inheritedJdk" />
+ <orderEntry type="sourceFolder" forTests="false" />
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$APPLICATION_HOME_DIR$/lib/javaee.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="library" name="jsf" level="project" />
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/../lib/facelets/jsf-facelets-portlet.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/../lib/facelets/jsf-facelets.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/../lib/jboss/jboss-jmx.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/../lib/jboss/jboss-system.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/../lib/portlet/portlet-api-lib.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/../lib/rome/jdom-1.0.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="library" name="xdoclet" level="project" />
+ <orderEntry type="module" module-name="blog-common" />
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/../lib/jboss-jaae/jboss-acl.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/../lib/jboss-jaae/jboss-identity-management.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/../lib/jboss-jaae/jboss-security-common.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/../lib/jboss-portal/portal-faces-lib.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/../lib/jboss-portal/portal-identity-lib.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/../lib/rome/rome-0.9.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntryProperties />
+ </component>
+ <component name="WebModuleBuildComponent">
+ <setting name="EXPLODED_URL" value="file://" />
+ <setting name="EXPLODED_ENABLED" value="false" />
+ <setting name="JAR_URL" value="file://" />
+ <setting name="JAR_ENABLED" value="false" />
+ <setting name="SYNC_EXPLODED_DIR" value="true" />
+ <setting name="BUILD_MODULE_ON_FRAME_DEACTIVATION" value="false" />
+ <setting name="BUILD_EXTERNAL_DEPENDENCIES" value="false" />
+ <setting name="RUN_JASPER_VALIDATION" value="true" />
+ </component>
+ <component name="WebModuleProperties">
+ <containerElement type="module" name="blog-common">
+ <attribute name="method" value="0" />
+ <attribute name="URI" value="/WEB-INF/classes" />
+ </containerElement>
+ <containerElement type="module" name="blog-model">
+ <attribute name="method" value="1" />
+ <attribute name="URI" value="/WEB-INF/classes" />
+ </containerElement>
+ <containerElement type="library" level="module">
+ <attribute name="method" value="1" />
+ <attribute name="URI" value="/WEB-INF/lib/jsf-facelets-portlet.jar" />
+ <url>jar://$MODULE_DIR$/../lib/facelets/jsf-facelets-portlet.jar!/</url>
+ </containerElement>
+ <containerElement type="library" level="module">
+ <attribute name="method" value="1" />
+ <attribute name="URI" value="/WEB-INF/lib/jsf-facelets.jar" />
+ <url>jar://$MODULE_DIR$/../lib/facelets/jsf-facelets.jar!/</url>
+ </containerElement>
+ <containerElement type="library" level="module">
+ <attribute name="method" value="1" />
+ <attribute name="URI" value="/WEB-INF/lib/jboss-acl.jar" />
+ <url>jar://$MODULE_DIR$/../lib/jboss-jaae/jboss-acl.jar!/</url>
+ </containerElement>
+ <containerElement type="library" level="module">
+ <attribute name="method" value="1" />
+ <attribute name="URI" value="/WEB-INF/lib/jboss-identity-management.jar" />
+ <url>jar://$MODULE_DIR$/../lib/jboss-jaae/jboss-identity-management.jar!/</url>
+ </containerElement>
+ <containerElement type="library" level="module">
+ <attribute name="method" value="1" />
+ <attribute name="URI" value="/WEB-INF/lib/jboss-security-common.jar" />
+ <url>jar://$MODULE_DIR$/../lib/jboss-jaae/jboss-security-common.jar!/</url>
+ </containerElement>
+ <containerElement type="library" level="module">
+ <attribute name="method" value="1" />
+ <attribute name="URI" value="/WEB-INF/lib/portal-faces-lib.jar" />
+ <url>jar://$MODULE_DIR$/../lib/jboss-portal/portal-faces-lib.jar!/</url>
+ </containerElement>
+ <containerElement type="library" level="module">
+ <attribute name="method" value="1" />
+ <attribute name="URI" value="/WEB-INF/lib/portal-identity-lib.jar" />
+ <url>jar://$MODULE_DIR$/../lib/jboss-portal/portal-identity-lib.jar!/</url>
+ </containerElement>
+ <containerElement type="library" level="module">
+ <attribute name="method" value="0" />
+ <attribute name="URI" value="/WEB-INF/lib/jboss-j2ee.jar" />
+ <url>jar://$MODULE_DIR$/../lib/jboss/jboss-j2ee.jar!/</url>
+ </containerElement>
+ <containerElement type="library" level="module">
+ <attribute name="method" value="1" />
+ <attribute name="URI" value="/WEB-INF/lib/jboss-jmx.jar" />
+ <url>jar://$MODULE_DIR$/../lib/jboss/jboss-jmx.jar!/</url>
+ </containerElement>
+ <containerElement type="library" level="module">
+ <attribute name="method" value="1" />
+ <attribute name="URI" value="/WEB-INF/lib/jboss-system.jar" />
+ <url>jar://$MODULE_DIR$/../lib/jboss/jboss-system.jar!/</url>
+ </containerElement>
+ <containerElement type="library" level="module">
+ <attribute name="method" value="1" />
+ <attribute name="URI" value="/WEB-INF/lib/portlet-api-lib.jar" />
+ <url>jar://$MODULE_DIR$/../lib/portlet/portlet-api-lib.jar!/</url>
+ </containerElement>
+ <containerElement type="library" level="module">
+ <attribute name="method" value="1" />
+ <attribute name="URI" value="/WEB-INF/lib/jdom-1.0.jar" />
+ <url>jar://$MODULE_DIR$/../lib/rome/jdom-1.0.jar!/</url>
+ </containerElement>
+ <containerElement type="library" level="module">
+ <attribute name="method" value="0" />
+ <attribute name="URI" value="/WEB-INF/lib/rome-0.9.jar" />
+ <url>jar://$MODULE_DIR$/../lib/rome/rome-0.9.jar!/</url>
+ </containerElement>
+ <containerElement type="library" level="module">
+ <attribute name="method" value="0" />
+ <attribute name="URI" value="<N/A>" />
+ <url>jar://$APPLICATION_HOME_DIR$/lib/javaee.jar!/</url>
+ </containerElement>
+ <containerElement type="library" name="jsf" level="project">
+ <attribute name="method" value="0" />
+ <attribute name="URI" value="<N/A>" />
+ </containerElement>
+ <containerElement type="library" name="xdoclet" level="project">
+ <attribute name="method" value="0" />
+ <attribute name="URI" value="/WEB-INF/lib" />
+ </containerElement>
+ <deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/src/web/WEB-INF/web.xml" optional="false" version="2.3" />
+ <webroots>
+ <root url="file://$MODULE_DIR$/src/web" relative="/" />
+ </webroots>
+ </component>
+ <component name="WeblogicWebModuleProperties" />
+</module>
+
Deleted: trunk/blog-view/build.xml
===================================================================
--- trunk/blog-core/build.xml 2007-06-18 19:04:03 UTC (rev 119)
+++ trunk/blog-view/build.xml 2007-06-21 10:06:50 UTC (rev 121)
@@ -1,93 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-
-<project name="JBoss Blog Core">
- <!-- Classpath for building the application: includes all dependency jars -->
- <path id="base.jars">
- <fileset refid="rome.jars" />
- <fileset refid="jboss.jars" />
- <fileset refid="jboss.portal.jars" />
- <fileset refid="portlet.jars" />
- <fileset refid="facelets.jars" />
- <fileset refid="myfaces.jars" />
- <fileset refid="jstl.jars" />
- <fileset refid="servlet.jars" />
-
- <fileset refid="log4j.jar" />
- </path>
-
- <!-- XDoclet task definition -->
- <path id="xdoclet.jars">
- <fileset dir="../lib/xdoclet"><include name="**/*.jar"/></fileset>
- </path>
-
- <taskdef name="jmxdoclet"
- classname="xdoclet.modules.jmx.JMXDocletTask"
- classpathref="xdoclet.jars"/>
- <taskdef name="hibernatedoclet"
- classname="xdoclet.modules.hibernate.HibernateDocletTask"
- classpathref="xdoclet.jars" />
-
- <!-- BUILD TARGETS -->
-
- <target name="init">
-
- </target>
-
- <target name="copy-libs-for-servlet" unless="jboss.portal.present">
- <copy todir="${dist.lib.dir}"><fileset refid="myfaces.jars"/></copy>
- <copy todir="${dist.lib.dir}"><fileset refid="facelets.jars"/></copy>
- </target>
-
- <target name="build">
- <mkdir dir="${build}" />
- <!-- Compiling the source -->
- <javac srcdir="${src.java}" destdir="${build}" target="1.4" source="1.4">
- <classpath refid="base.jars" />
- <!-- Dependency on the blog-common classes -->
- <classpath path="../blog-common/${build}" />
- </javac>
- <!-- Copying any xmls -->
- <copy todir="${build}">
- <fileset dir="${src.java}">
- <include name="**/*.xml"/>
- </fileset>
- </copy>
- <!-- Creating the xmbean xml-s -->
- <jmxdoclet destdir="${build}">
- <fileset dir="${src.java}"><include name="**/*.java"/></fileset>
- <jbossxmbean />
- </jmxdoclet>
- </target>
-
- <target name="dist">
- <mkdir dir="${dist.lib.dir}" />
-
- <!-- Copying the meta information -->
- <copy todir="${dist.main.dir}">
- <fileset dir="${src.meta}"><include name="**/*" /></fileset>
- </copy>
-
- <!-- Creating the jar with the classes -->
- <jar destfile="${dist.lib.dir}/jboss-blog-core.jar" basedir="${build}" />
-
- <!-- Creating the web application -->
- <mkdir dir="${dist.war.dir}" />
- <copy todir="${dist.war.dir}">
- <fileset dir="${src.web}"><include name="**/*" /></fileset>
- </copy>
-
- <!-- Copying dependency jars -->
- <copy todir="${dist.lib.dir}"><fileset refid="rome.jars"/></copy>
- <copy todir="${dist.lib.dir}"><fileset refid="jboss.jaae.jars"/></copy>
- <copy todir="${dist.lib.dir}"><fileset refid="jboss.portal.identity.jars"/></copy>
- <copy todir="${dist.lib.dir}"><fileset refid="jexl.jars"/></copy>
-
- <copy todir="${dist.war.dir}/WEB-INF/lib"><fileset refid="jstl.jars"/></copy>
-
- <antcall target="copy-libs-for-servlet" />
- </target>
-
- <target name="clean">
- <delete dir="${build}" />
- </target>
-</project>
Copied: trunk/blog-view/build.xml (from rev 120, trunk/blog-core/build.xml)
===================================================================
--- trunk/blog-view/build.xml (rev 0)
+++ trunk/blog-view/build.xml 2007-06-21 10:06:50 UTC (rev 121)
@@ -0,0 +1,90 @@
+<?xml version='1.0' encoding='UTF-8'?>
+
+<project name="JBoss Blog Core">
+ <!-- Classpath for building the application: includes all dependency jars -->
+ <path id="base.jars">
+ <fileset refid="rome.jars" />
+ <fileset refid="jboss.jars" />
+ <fileset refid="jboss.portal.jars" />
+ <fileset refid="portlet.jars" />
+ <fileset refid="jstl.jars" />
+ <fileset refid="servlet.jars" />
+
+ <fileset refid="log4j.jar" />
+ </path>
+
+ <!-- XDoclet task definition -->
+ <path id="xdoclet.jars">
+ <fileset dir="../lib/xdoclet"><include name="**/*.jar"/></fileset>
+ </path>
+
+ <taskdef name="jmxdoclet"
+ classname="xdoclet.modules.jmx.JMXDocletTask"
+ classpathref="xdoclet.jars"/>
+ <taskdef name="hibernatedoclet"
+ classname="xdoclet.modules.hibernate.HibernateDocletTask"
+ classpathref="xdoclet.jars" />
+
+ <!-- BUILD TARGETS -->
+
+ <target name="init">
+
+ </target>
+
+ <target name="copy-libs-for-servlet" unless="jboss.portal.present">
+ <copy todir="${dist.lib.dir}"><fileset refid="myfaces.jars"/></copy>
+ <copy todir="${dist.lib.dir}"><fileset refid="facelets.jars"/></copy>
+ </target>
+
+ <target name="build">
+ <mkdir dir="${build}" />
+ <!-- Compiling the source -->
+ <javac srcdir="${src.java}" destdir="${build}" target="1.5" source="1.5">
+ <classpath refid="base.jars" />
+ <!-- Dependency on the blog-common classes -->
+ <classpath path="../blog-common/${build}" />
+ </javac>
+ <!-- Copying any xmls -->
+ <copy todir="${build}">
+ <fileset dir="${src.java}">
+ <include name="**/*.xml"/>
+ </fileset>
+ </copy>
+ <!-- Creating the xmbean xml-s -->
+ <jmxdoclet destdir="${build}">
+ <fileset dir="${src.java}"><include name="**/*.java"/></fileset>
+ <jbossxmbean />
+ </jmxdoclet>
+ </target>
+
+ <target name="dist">
+ <mkdir dir="${dist.lib.dir}" />
+
+ <!-- Copying the meta information -->
+ <copy todir="${dist.main.dir}">
+ <fileset dir="${src.meta}"><include name="**/*" /></fileset>
+ </copy>
+
+ <!-- Creating the jar with the classes -->
+ <jar destfile="${dist.lib.dir}/jboss-blog-core.jar" basedir="${build}" />
+
+ <!-- Creating the web application -->
+ <mkdir dir="${dist.war.dir}" />
+ <copy todir="${dist.war.dir}">
+ <fileset dir="${src.web}"><include name="**/*" /></fileset>
+ </copy>
+
+ <!-- Copying dependency jars -->
+ <copy todir="${dist.lib.dir}"><fileset refid="rome.jars"/></copy>
+ <copy todir="${dist.lib.dir}"><fileset refid="jboss.portal.identity.jars"/></copy>
+ <copy todir="${dist.lib.dir}"><fileset refid="jexl.jars"/></copy>
+
+ <copy todir="${dist.war.dir}/WEB-INF/lib"><fileset refid="jstl.jars"/></copy>
+
+ <antcall target="copy-libs-for-servlet" />
+ </target>
+
+ <target name="clean">
+ <delete dir="${build}" />
+ </target>
+</project>
Copied: trunk/blog-view/src (from rev 120, trunk/blog-core/src)
More information about the jboss-cvs-commits
mailing list