You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wink.apache.org by ma...@apache.org on 2009/07/08 12:10:12 UTC

svn commit: r792086 - in /incubator/wink/trunk/wink-scripts/wink-dist: build.xml dist.xml pom.xml

Author: martins
Date: Wed Jul  8 10:10:11 2009
New Revision: 792086

URL: http://svn.apache.org/viewvc?rev=792086&view=rev
Log:
[WINK-44] - Set up the automatic build environment - add assembly plugin to create main dist zip

Added:
    incubator/wink/trunk/wink-scripts/wink-dist/dist.xml
Modified:
    incubator/wink/trunk/wink-scripts/wink-dist/build.xml
    incubator/wink/trunk/wink-scripts/wink-dist/pom.xml

Modified: incubator/wink/trunk/wink-scripts/wink-dist/build.xml
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-scripts/wink-dist/build.xml?rev=792086&r1=792085&r2=792086&view=diff
==============================================================================
--- incubator/wink/trunk/wink-scripts/wink-dist/build.xml (original)
+++ incubator/wink/trunk/wink-scripts/wink-dist/build.xml Wed Jul  8 10:10:11 2009
@@ -300,7 +300,7 @@
 
 	<!-- Creates final zip -->
 	<target name="dist" depends="create.javadoc, create.dist.components, create.dist.lib, create.dist.root.docs, create.dist.main.jar, create.dist.main.sources.jar, create.examples">
-		<zip destfile="${target.zip}" basedir="${dist}" />
+		<!--zip destfile="${target.zip}" basedir="${dist}" /-->
 	</target>
 
 </project>

Added: incubator/wink/trunk/wink-scripts/wink-dist/dist.xml
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-scripts/wink-dist/dist.xml?rev=792086&view=auto
==============================================================================
--- incubator/wink/trunk/wink-scripts/wink-dist/dist.xml (added)
+++ incubator/wink/trunk/wink-scripts/wink-dist/dist.xml Wed Jul  8 10:10:11 2009
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+     http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+<assembly>
+	<formats>
+		<format>zip</format>
+	</formats>
+	<includeBaseDirectory>false</includeBaseDirectory>
+    <fileSets>
+        <fileSet>
+            <directory>target/dist</directory>
+            <outputDirectory>/</outputDirectory>
+        </fileSet>
+ 	</fileSets>
+</assembly>

Modified: incubator/wink/trunk/wink-scripts/wink-dist/pom.xml
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-scripts/wink-dist/pom.xml?rev=792086&r1=792085&r2=792086&view=diff
==============================================================================
--- incubator/wink/trunk/wink-scripts/wink-dist/pom.xml (original)
+++ incubator/wink/trunk/wink-scripts/wink-dist/pom.xml Wed Jul  8 10:10:11 2009
@@ -139,6 +139,22 @@
 							</tasks>
 						</configuration>
 					</plugin>
+					<plugin>
+						<artifactId>maven-assembly-plugin</artifactId>
+						<configuration>
+							<descriptors>
+								<descriptor>dist.xml</descriptor>
+							</descriptors>
+						</configuration>
+						<executions>
+							<execution>
+								<phase>verify</phase>
+								<goals>
+									<goal>single</goal>
+								</goals>
+							</execution>
+						</executions>
+					</plugin>
 				</plugins>
 
 			</build>