aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ode-0.9/tools
diff options
context:
space:
mode:
authordan miller2007-10-19 05:20:07 +0000
committerdan miller2007-10-19 05:20:07 +0000
commitfca74b0bf0a0833f5701e9c0de7b3bc15b2233dd (patch)
tree51bcae7a1b8381a6bf6fd8025a7de1e30fe0045d /libraries/ode-0.9/tools
parentresubmitting ode (diff)
downloadopensim-SC-fca74b0bf0a0833f5701e9c0de7b3bc15b2233dd.zip
opensim-SC-fca74b0bf0a0833f5701e9c0de7b3bc15b2233dd.tar.gz
opensim-SC-fca74b0bf0a0833f5701e9c0de7b3bc15b2233dd.tar.bz2
opensim-SC-fca74b0bf0a0833f5701e9c0de7b3bc15b2233dd.tar.xz
dont ask
Diffstat (limited to 'libraries/ode-0.9/tools')
-rw-r--r--libraries/ode-0.9/tools/checklist.txt25
-rw-r--r--libraries/ode-0.9/tools/ftp_msw_script8
-rw-r--r--libraries/ode-0.9/tools/ftp_src_script7
-rw-r--r--libraries/ode-0.9/tools/msw-release.bat125
-rw-r--r--libraries/ode-0.9/tools/src-release.sh104
5 files changed, 0 insertions, 269 deletions
diff --git a/libraries/ode-0.9/tools/checklist.txt b/libraries/ode-0.9/tools/checklist.txt
deleted file mode 100644
index 7aa5c11..0000000
--- a/libraries/ode-0.9/tools/checklist.txt
+++ /dev/null
@@ -1,25 +0,0 @@
1RELEASE CHECKLIST
2---------------------------------------------
3
4( ) Update versions at start of configure.in (AC_INIT, ODE_CURRENT, etc.)
5
6( ) Create a release branch in SVN
7
8( ) Run msw-release.bat in VS2003 command prompt
9
10( ) Run src-release.sh to create source package
11 (Must run in Linux or Cygwin w/autotools)
12
13
14
15SANITY CHECK of release package
16---------------------------------------------
17
18* binaries exist
19
20* include/ode/config.h exists
21
22* configure script exists - if not: is autotools installed?
23
24* docs have been generated in docs/
25
diff --git a/libraries/ode-0.9/tools/ftp_msw_script b/libraries/ode-0.9/tools/ftp_msw_script
deleted file mode 100644
index ee99232..0000000
--- a/libraries/ode-0.9/tools/ftp_msw_script
+++ /dev/null
@@ -1,8 +0,0 @@
1anonymous
2jason379@users.sourceforge.net
3cd incoming
4bin
5prompt
6mput ode-win32-*.zip
7quit
8
diff --git a/libraries/ode-0.9/tools/ftp_src_script b/libraries/ode-0.9/tools/ftp_src_script
deleted file mode 100644
index 75f3af9..0000000
--- a/libraries/ode-0.9/tools/ftp_src_script
+++ /dev/null
@@ -1,7 +0,0 @@
1user anonymous starkos
2cd incoming
3bin
4prompt
5mput ode-src-*.zip
6quit
7
diff --git a/libraries/ode-0.9/tools/msw-release.bat b/libraries/ode-0.9/tools/msw-release.bat
deleted file mode 100644
index 039d4a9..0000000
--- a/libraries/ode-0.9/tools/msw-release.bat
+++ /dev/null
@@ -1,125 +0,0 @@
1@echo off
2rem ***********************************************************
3rem * ODE Windows Binary Release Script
4rem * Originally written by Jason Perkins (starkos@gmail.com)
5rem *
6rem * Prerequisites:
7rem * Command-line svn installed on path
8rem * Command-line zip installed on path
9rem * Run within Visual Studio 2003 command prompt
10rem ***********************************************************
11
12rem * Check arguments
13if "%1"=="" goto show_usage
14if "%2"=="" goto show_usage
15
16
17rem ***********************************************************
18rem * Pre-build checklist
19rem ***********************************************************
20
21echo.
22echo STARTING PREBUILD CHECKLIST, PRESS ^^C TO ABORT.
23echo.
24echo Are you running at the VS2003 command prompt?
25pause
26echo.
27echo Is the version number "%1" correct?
28pause
29echo.
30echo Does the release branch "%2" exist in SVN?
31pause
32echo.
33echo Are 'svn', '7z', and 'doxygen' on the path?
34pause
35echo.
36echo Okay, ready to build the Windows binary packages for version %1!
37pause
38
39
40rem ***********************************************************
41rem * Retrieve source code
42rem ***********************************************************
43
44echo.
45echo RETRIEVING SOURCE CODE FROM REPOSITORY...
46echo.
47
48svn export https://opende.svn.sourceforge.net/svnroot/opende/branches/%2 ode-%1
49
50
51
52rem ***********************************************************
53rem * Prepare source code
54rem ***********************************************************
55
56echo.
57echo PREPARING SOURCE CODE FROM REPOSITORY...
58echo.
59
60cd ode-%1
61copy build\config-default.h include\ode\config.h
62
63cd ode\doc
64doxygen
65
66cd ..\..\..
67
68
69rem ***********************************************************
70rem * Build the binaries
71rem ***********************************************************
72
73echo.
74echo BUILDING RELEASE BINARIES...
75echo.
76
77cd ode-%1\build\vs2003
78devenv.exe ode.sln /build DebugLib /project ode
79devenv.exe ode.sln /build DebugDLL /project ode
80devenv.exe ode.sln /build ReleaseLib /project ode
81devenv.exe ode.sln /build ReleaseDLL /project ode
82
83
84rem ***********************************************************
85rem * Package things up
86rem ***********************************************************
87
88cd ..\..
89move lib\ReleaseDLL\ode.lib lib\ReleaseDLL\ode-imports.lib
90
91cd ..
927z a -tzip ode-win32-%1.zip ode-%1\*.txt ode-%1\include\ode\*.h ode-%1\lib\* ode-%1\docs\*
93
94
95rem ***********************************************************
96rem * Clean up
97rem ***********************************************************
98
99echo.
100echo CLEANING UP...
101echo.
102
103rmdir /s /q ode-%1
104
105
106rem ***********************************************************
107rem * Upload to SF.net
108rem ***********************************************************
109
110echo.
111echo Ready to upload package to SourceForce, press ^^C to abort.
112pause
113ftp -s:ftp_msw_script upload.sourceforge.net
114goto done
115
116
117rem ***********************************************************
118rem * Error messages
119rem ***********************************************************
120
121:show_usage
122echo Usage: msw_release.bat version_number branch_name
123goto done
124
125:done
diff --git a/libraries/ode-0.9/tools/src-release.sh b/libraries/ode-0.9/tools/src-release.sh
deleted file mode 100644
index 011a96b..0000000
--- a/libraries/ode-0.9/tools/src-release.sh
+++ /dev/null
@@ -1,104 +0,0 @@
1#!/bin/sh
2###################################################################
3# ODE Source Code Release Script
4# Originally written by Jason Perkins (starkos@gmail.com)
5#
6# Prerequisites:
7# svn, zip
8###################################################################
9
10# Check arguments
11if [ $# -ne 2 ]; then
12 echo 1>&2 "Usage: $0 version_number branch_name"
13 exit 1
14fi
15
16
17###################################################################
18# Pre-build checklist
19###################################################################
20
21echo ""
22echo "STARTING PREBUILD CHECKLIST, PRESS ^^C TO ABORT."
23echo ""
24echo "Is the version number '$1' correct?"
25read line
26echo ""
27echo "Have you created a release branch named '$2' in SVN?"
28read line
29echo ""
30echo "Have you run all of the tests?"
31read line
32echo ""
33echo "Is the Changelog up to date?"
34read line
35echo ""
36echo "Okay, ready to build the source code package for version $1!"
37read line
38
39
40###################################################################
41# Retrieve source code
42###################################################################
43
44echo ""
45echo "RETRIEVING SOURCE CODE FROM REPOSITORY..."
46echo ""
47f
48svn export https://opende.svn.sourceforge.net/svnroot/opende/branches/$2 ode-$1
49
50
51###################################################################
52# Prepare source code
53###################################################################
54
55echo ""
56echo "PREPARING SOURCE TREE..."
57echo ""
58
59cd ode-$1
60chmod 755 autogen.sh
61./autogen.sh
62rm -rf autom4te.cache
63
64cp build/config-default.h include/ode/config.h
65
66cd ode/doc
67doxygen
68
69cd ../../..
70
71
72###################################################################
73# Package source code
74###################################################################
75
76echo ""
77echo "PACKAGING SOURCE CODE..."
78echo ""
79
80zip -r9 ode-src-$1.zip ode-$1/*
81
82
83###################################################################
84# Clean up
85###################################################################
86
87echo ""
88echo "CLEANING UP..."
89echo ""
90
91rm -rf ode-$1
92
93
94#####################################################################
95# Send the files to SourceForge
96#####################################################################
97
98echo ""
99echo "Upload packages to SourceForge?"
100read line
101if [ $line = "y" ]; then
102 echo "Uploading to SourceForge..."
103 ftp -n upload.sourceforge.net < ftp_src_script
104fi