Project

General

Profile

« Previous | Next » 

Revision cc533ba7

Added by Niels Hoffmann over 12 years ago

Finalizing nightly builds

View differences:

eu.etaxonomy.taxeditor/deploy_nightly.sh
1 1
#!/bin/bash
2 2

  
3
# testing
3
# local testing
4 4
#WORKSPACE="/Users/n.hoffmann/Documents/workspace/taxeditor/trunk"
5 5

  
6 6
PRODUCT_DIR="$WORKSPACE/eu.etaxonomy.taxeditor/target/products"
......
10 10

  
11 11
# bash check if directory exists
12 12
if [ ! -d $PRODUCT_DIR ]; then
13
	echo "Target directory does not exist: $PRODUCT_DIR" 
13
	echo "Product directory does not exist: $PRODUCT_DIR" 
14 14
	exit 1
15 15
fi 
16 16

  
17
PRODUCTS=$(ls  $PRODUCT_DIR/eu.etaxonomy.taxeditor.product-*.zip)
17
PRODUCTS=$(ls $PRODUCT_DIR/eu.etaxonomy.taxeditor.product-*.zip)
18 18

  
19
if [ ! -e $PRODUCTS ]; then
20
	echo "No products in target folder."
19
if [ ! $PRODUCTS ]; then
20
	echo "No products in product directory: $PRODUCT_DIR"
21 21
	exit 1
22 22
fi
23 23

  
eu.etaxonomy.taxeditor/eu.etaxonomy.taxeditor.product
26 26
      startupProgressRect="5,447,366,15"
27 27
      startupMessageRect="7,432,360,20"
28 28
      startupForegroundColor="000000" />
29
   <launcher name="eclipse">
29
   <launcher name="TaxonomicEditor">
30 30
      <solaris/>
31 31
      <win useIco="false">
32 32
         <bmp/>
eu.etaxonomy.taxeditor/pom.xml
42 42
					</execution>
43 43
				</executions>
44 44
			</plugin>
45
			<plugin>
46
				<groupId>org.codehaus.mojo</groupId>
47
				<artifactId>wagon-maven-plugin</artifactId>
48
			    <!--
49
			      	Problems with the wagon-maven-plugin have been encounterd on Windows,
50
					it should work properly on linux though.
51
				 -->
52
				<executions>
53
					<execution>
54
						<phase>deploy</phase>
55
						<goals>
56
							<goal>upload</goal>
57
						</goals>
58
					</execution>
59
				</executions>
60
				<configuration>
61
					<fromDir>target/products</fromDir>
62
					<includes>*.zip</includes>
63
					<url>scpexe://wp5.e-taxonomy.eu/var/www/download/taxeditor/${project.version}</url>
64
					<serverId>wp5.e-taxonomy.eu</serverId>
65
				</configuration>
66
			</plugin>
45 67
		</plugins>
46 68
	</build>
47 69

  
pom.xml
238 238
					</additionalProjectnatures>
239 239
				</configuration>
240 240
			</plugin>
241
			<!-- ====== DEPLOY ====== -->
241 242
			<plugin>
242 243
				<groupId>org.apache.maven.plugins</groupId>
243
				<artifactId>maven-deploy-plugin</artifactId>
244
				<version>2.5</version>
244
				<artifactId>maven-release-plugin</artifactId>
245
				<version>2.2.1</version>
246
				<configuration>
247
					<allowTimestampedSnapshots>true</allowTimestampedSnapshots>
248
					<autoVersionSubmodules>false</autoVersionSubmodules>
249
					<!--preparationGoals>clean verify install</preparationGoals-->
250
					<!--goals>deploy</goals-->
251
					<!-- skipping site-deploy by explicitly configuring the goal here -->
252
					<tagBase>http://dev.e-taxonomy.eu/svn/tags/taxeditor</tagBase>
253
				</configuration>
245 254
			</plugin>
246 255
		</plugins>
247 256
		<pluginManagement>
......
251 260
					<artifactId>maven-jar-plugin</artifactId>
252 261
					<version>2.3.1</version>
253 262
				</plugin>
263
				<plugin>
264
					<groupId>org.codehaus.mojo</groupId>
265
					<artifactId>wagon-maven-plugin</artifactId>
266
					<version>1.0-beta-3</version>
267
				</plugin>
254 268
				<!--plugin>
255 269
					<groupId>org.eclipse.tycho</groupId>
256 270
					<artifactId>tycho-packaging-plugin</artifactId>

Also available in: Unified diff