portals-portalapps-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From woon...@apache.org
Subject svn commit: r945279 - in /portals/applications/sandbox/content/trunk: build.properties build.xml etc/import/ etc/import/build.properties etc/import/build.xml etc/import/sources/Jetspeed-2-release.xml pom.xml src/main/webapp/WEB-INF/tool/import/
Date Mon, 17 May 2010 18:09:25 GMT
Author: woonsan
Date: Mon May 17 18:09:25 2010
New Revision: 945279

URL: http://svn.apache.org/viewvc?rev=945279&view=rev
Log:
Moving import ant script location

Added:
    portals/applications/sandbox/content/trunk/build.properties   (contents, props changed)
      - copied, changed from r945235, portals/applications/sandbox/content/trunk/src/main/webapp/WEB-INF/tool/import/build.properties
    portals/applications/sandbox/content/trunk/build.xml   (contents, props changed)
      - copied, changed from r945235, portals/applications/sandbox/content/trunk/src/main/webapp/WEB-INF/tool/import/build.xml
    portals/applications/sandbox/content/trunk/etc/import/
      - copied from r945235, portals/applications/sandbox/content/trunk/src/main/webapp/WEB-INF/tool/import/
    portals/applications/sandbox/content/trunk/etc/import/sources/Jetspeed-2-release.xml
      - copied unchanged from r945238, portals/applications/sandbox/content/trunk/src/main/webapp/WEB-INF/tool/import/sources/Jetspeed-2-release.xml
Removed:
    portals/applications/sandbox/content/trunk/etc/import/build.properties
    portals/applications/sandbox/content/trunk/etc/import/build.xml
    portals/applications/sandbox/content/trunk/src/main/webapp/WEB-INF/tool/import/
Modified:
    portals/applications/sandbox/content/trunk/pom.xml

Copied: portals/applications/sandbox/content/trunk/build.properties (from r945235, portals/applications/sandbox/content/trunk/src/main/webapp/WEB-INF/tool/import/build.properties)
URL: http://svn.apache.org/viewvc/portals/applications/sandbox/content/trunk/build.properties?p2=portals/applications/sandbox/content/trunk/build.properties&p1=portals/applications/sandbox/content/trunk/src/main/webapp/WEB-INF/tool/import/build.properties&r1=945235&r2=945279&rev=945279&view=diff
==============================================================================
--- portals/applications/sandbox/content/trunk/src/main/webapp/WEB-INF/tool/import/build.properties
(original)
+++ portals/applications/sandbox/content/trunk/build.properties Mon May 17 18:09:25 2010
@@ -16,6 +16,3 @@
 repository.url = rmi://127.0.0.1:1099/hipporepository
 repository.username = admin
 repository.password = admin
-
-task.class.path = ../../classes
-task.libs.dir = ../../lib

Propchange: portals/applications/sandbox/content/trunk/build.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: portals/applications/sandbox/content/trunk/build.properties
------------------------------------------------------------------------------
    svn:keywords = Id

Propchange: portals/applications/sandbox/content/trunk/build.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Copied: portals/applications/sandbox/content/trunk/build.xml (from r945235, portals/applications/sandbox/content/trunk/src/main/webapp/WEB-INF/tool/import/build.xml)
URL: http://svn.apache.org/viewvc/portals/applications/sandbox/content/trunk/build.xml?p2=portals/applications/sandbox/content/trunk/build.xml&p1=portals/applications/sandbox/content/trunk/src/main/webapp/WEB-INF/tool/import/build.xml&r1=945235&r2=945279&rev=945279&view=diff
==============================================================================
--- portals/applications/sandbox/content/trunk/src/main/webapp/WEB-INF/tool/import/build.xml
(original)
+++ portals/applications/sandbox/content/trunk/build.xml Mon May 17 18:09:25 2010
@@ -15,14 +15,17 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<project default="import-content" basedir="." name="content import example">
+<project default="help" basedir="." name="content import example">
   
   <property name="repository.url" value="rmi://127.0.0.1:1099/hipporepository" />
   <property name="repository.username" value="admin" />
   <property name="repository.password" value="admin" />
-  <property name="task.class.path" value="../../classes" />
-  <property name="task.libs.dir" value="../../lib" />
+  <property name="module.artifactId" value="apa-content" />
+  <property name="module.version" value="1.0" />
   
+  <property name="task.class.path" value="${basedir}/target/apa-content/WEB-INF/classes"
/>
+  <property name="task.libs.dir" value="${basedir}/target/apa-content/WEB-INF/lib" />
+    
   <path id="task.classpath">
     <fileset dir="${task.libs.dir}" includes="**/*.jar" />
   </path>
@@ -31,13 +34,20 @@
   	       classname="org.apache.portals.applications.content.tools.ant.Import" 
   	       classpath="${task.class.path}" classpathref="task.classpath" />
   
-  <target name="import-content">
+  <target name="help">
+  	<echo><![CDATA[
+  	Welcome to the import tool ant script!
+    If you want to import, just run `ant import'. 
+  	]]></echo>
+  </target>
+  
+  <target name="import">
   	
   	<import repositoryUrl="${repository.url}"
   	        repositoryUsername="${repository.username}"
   	        repositoryPassword="${repository.password}"
   		    parentAbsPath="/content/documents/en/news/2009/05" 
-  		    source="${basedir}/sources/Jetspeed-2-release.xml" 
+  		    source="${basedir}/etc/import/sources/Jetspeed-2-release.xml" 
     />
   	
   </target>

Propchange: portals/applications/sandbox/content/trunk/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: portals/applications/sandbox/content/trunk/build.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Propchange: portals/applications/sandbox/content/trunk/build.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: portals/applications/sandbox/content/trunk/pom.xml
URL: http://svn.apache.org/viewvc/portals/applications/sandbox/content/trunk/pom.xml?rev=945279&r1=945278&r2=945279&view=diff
==============================================================================
--- portals/applications/sandbox/content/trunk/pom.xml (original)
+++ portals/applications/sandbox/content/trunk/pom.xml Mon May 17 18:09:25 2010
@@ -216,7 +216,9 @@
   </dependencies>
   
   <build>
-   
+    
+    <finalName>apa-content</finalName>
+    
     <plugins>
       
       <plugin>



Mime
View raw message