Updated README.txt

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@80267 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Tuna Aksoy
2014-08-15 14:39:15 +00:00
parent 8d7d9cfbdb
commit 11e26b3d2b
3 changed files with 11 additions and 19 deletions

View File

@@ -20,29 +20,30 @@ Using Eclipse
- Browse to the code directory of your project and select "rm-server/pom.xml" and "rm-share/pom.xml". DO NOT select the parent "/pom.xml"
- Open the Ant view and add the build files for both modules ("build.xml")
- Run the "prepareEnv" target for rm-server which will prepare the development environment. This target must be run just once.
- Now "buildAndDeploy" target can be run which will create the amp file, apply it to the war file and copy the war file to webapps folder.
- Now "fullBuild" target can be run which will create the amp file, apply it to the war file and copy the war file to webapps folder.
Summary of Available Ant Targets
- assembleIconPackage : Assembles an icons package for the module
- assembleLocalisationPackage : Assembles an i18n package for the module
- buildAndDeploy : Creates the amp file and applies it to the war file
- configureSOLR : Configures SOLR for Alfresco
- fullBuild : Creates the amp file and applies it to the war file
- incrementalBuild : Creates the jar file and copies the jar file with other files like css, js, ftl, etc. files
- prepareEnv : Prepares the development environment (must be run just once)
- tomcat-start : Starts a tomcat instance
- tomcat-start-debug : Starts a tomcat instance in debug mode
- tomcat-stop : Stops the running tomcat instance
Summary of Available Internal Ant Targets
- alfresco:amp : Creates the amp file using alfresco maven plugin
- alfresco:install : Installs the amp file to the war file
- cleanTarget : Deletes the "target" folder
- assembleIconPackage : Assembles an icons package for the module
- copyDBDriver : Copies the DB driver
- copyDevContextFile : Copies the dev-context.xml file
- copyWarFileToTomcat : Copies the war file (amp applied) to the webapp folder
- copyWebDirectory : Copies the source/web folder
- deleteExplodedWar : Deletes the exploded war file
- deleteWarFile : Deletes the war file
- fetchSOLR : Gets the the SOLR artifact
- fetchWarFile : Gets the "original" war file
- install : Executes the "mvn install" command
- install : Executes the "mvn install" command
- package : Executes the "mvn package" command
- unitTest : Runs the unit tests

View File

@@ -55,15 +55,6 @@
<target name="fullBuild" depends="alfresco:install, copyWarFileToTomcat" description=""/>
<target name="getSvnRevision">
<mkdir dir="${ant.build.directory}"/>
<property name="svnInfoFile" value="${ant.build.directory}/svninfo.properties" />
<exec executable="svn" output="${svnInfoFile}" failonerror="true">
<arg value="info" />
</exec>
<property file="${svnInfoFile}"/>
</target>
<target name="copyWebDirectory" if="${web.directory.exists}">
<copy todir="${app.folder}" failonerror="true">
<fileset dir="${ant.source.web.directory}" />

View File

@@ -46,7 +46,7 @@
<unzip src="${solr.directory}/${solr.package}" dest="${solr.directory}"/>
</target>
<target name="configure-solr" depends="fetchSOLR"
<target name="configureSOLR" depends="fetchSOLR"
description="Configures Tomcat and the Alfresco repository to use SOLR">
<dirname property="temp.dir" file="${ant.file}"/>