[Mobies-commit] [commit] r3737 - UDM/trunk

ksmyth at redhat1.isis.vanderbilt.edu ksmyth at redhat1.isis.vanderbilt.edu
Fri May 13 12:45:35 CDT 2011


Author: ksmyth
Date: Fri May 13 12:45:34 2011
New Revision: 3737

Log:
Update release and compile guides

Modified:
   UDM/trunk/UDM_Release_Howto.txt
   UDM/trunk/UDM_compile_guideVS2008.txt

Modified: UDM/trunk/UDM_Release_Howto.txt
==============================================================================
--- UDM/trunk/UDM_Release_Howto.txt	Thu May 12 10:16:37 2011	(r3736)
+++ UDM/trunk/UDM_Release_Howto.txt	Fri May 13 12:45:34 2011	(r3737)
@@ -2,71 +2,65 @@
 Currently only Kevin Smyth <ksmyth at isis.vanderbilt.edu> makes Udm releases
 First see UDM_compile_guideVS2008.txt
 
-set JAVA_HOME=
+set JAVA_HOME=C:\Program Files\Java\jdk1.5.0_22
+set JDK_PATH=C:\Program Files\Java\jdk1.5.0_22
 set UDM_PATH=
 set UDM_3RDPARTY_PATH=
 set GREAT_PATH=
 set GREAT_3RDPARTY_PATH=
 
 Update with new version, info:
- /UDM/trunk/InnoSetup/udm_innosetupVS2008.iss
+ /UDM/trunk/InnoSetup/udm_innosetupVS2008.iss (x3+GME version)
  /UDM/trunk/Projects/Win32/VC10/src/UdmDll/UdmDll.rc
  /UDM/trunk/Projects/Win32/VC9/src/UdmDll/UdmDll.rc
  /UDM/trunk/include/UdmBase.h
  /UDM/trunk/releaseinfo.txt
-ci -m 'Prepare for release 3.2.5'
-
-svn cp https://svn.isis.vanderbilt.edu/MoBIES/UDM/trunk/ https://svn.isis.vanderbilt.edu/MoBIES/UDM/tags/A3_2_5
-
+ /UDM/trunk/Projects/Win32/VC10/src/UdmCli/Properties/AssemblyInfo.cs
+ci -m 'Prepare for release 3.2.8'
 
-rem VS9 cmd prompt
-rem check that none of the commands fail
+svn cp https://svn.isis.vanderbilt.edu/MoBIES/UDM/trunk/ https://svn.isis.vanderbilt.edu/MoBIES/UDM/tags/A3_2_8
+svn co https://svn.isis.vanderbilt.edu/MoBIES/UDM/tags/A3_2_8 Udm
 
-set JDK_PATH=C:\Program Files\Java\jdk1.5.0_22
+rem VS10 cmd prompt
+rem Building MetaGME2UML is a requirement for a Udm release
+set PATH=%UDM_PATH%\bin;%PATH%
+msbuild "%GREAT_PATH%\Tools\MetaGME2UMX\MetaGME2UMX Interpreters\MetaGME2UML_interpreterVS2010.vcxproj" /t:Rebuild /p:Configuration=ReleaseVS9
 
-set BUILD_SWITCH=/nologo /r
+msbuild "c:\Program Files\GME\SDK\DecoratorLib\DecoratorLib.sln" /p:Configuration=Debug /t:Rebuild
+msbuild "c:\Program Files\GME\SDK\DecoratorLib\DecoratorLib.sln" /p:Configuration=Release /t:Rebuild
 
-vcbuild %BUILD_SWITCH% /u "c:\Program Files\GME\SDK\DecoratorLib\DecoratorLib.sln" "Debug|Win32"
-vcbuild %BUILD_SWITCH% /u "c:\Program Files\GME\SDK\DecoratorLib\DecoratorLib.sln" "Release|Win32"
+set PATH=%UDM_PATH%\bin;%PATH%
+c:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild "%UDM_PATH%"\make.msbuild /t:BuildVS9;BuildVS10;UdmCliGen
 
-"%UDM_PATH%\scripts\vc9-env.bat"
-devenv /useenv /build debug /project UdmDll "%UDM_PATH%\Projects\Win32\vc9\src\Udm.sln"
-vcbuild %BUILD_SWITCH% /u "%UDM_PATH%\Projects\Win32\VC9\src\Udm.sln" "Release|Win32"
 pushd %UDM_PATH%\judm
+"%UDM_PATH%\scripts\vc9-env.bat"
 set Path=%UDM_3RDPARTY_PATH%\apache-ant-1.7.1\bin;%PATH%
 set ANT_HOME=
 set ANT_PATH=
 "%UDM_3RDPARTY_PATH%"\apache-ant-1.7.1\bin\ant
 
-rem ------------------------
-rem new VS10 cmd prompt
-rem Building MetaGME2UML is a requirement for a Udm release
-set PATH=%UDM_PATH%\bin;%PATH%
-msbuild "%GREAT_PATH%\Tools\MetaGME2UMX\MetaGME2UMX Interpreters\MetaGME2UML_interpreterVS2010.vcxproj" /t:Rebuild /p:Configuration=ReleaseVS9
-
-set UDM_3RDPARTY_PATH=c:\Documents and Settings\kevin\My Documents\3rdparty\UDM_VS2010
-set JDK_PATH=C:\Program Files\Java\jdk1.5.0_22
-msbuild "%UDM_PATH%\Projects\Win32\VC10\src\UdmDll\UdmDll.vcxproj" /t:Rebuild /p:Configuration=Debug
-msbuild "%UDM_PATH%\Projects\Win32\VC10\src\UdmDll\UdmDll.vcxproj" /t:Rebuild /p:Configuration=Release
-msbuild "%UDM_PATH%\Projects\Win32\VC10\src\UdmPython\UdmPython.vcxproj" /t:Rebuild /p:Configuration=Release27 
-msbuild "%UDM_PATH%\Projects\Win32\VC10\src\UdmPython\UdmPython.vcxproj" /t:Rebuild /p:Configuration=Debug
-msbuild "%UDM_PATH%\Projects\Win32\VC10\src\UdmPython\UdmPython.vcxproj" /t:Rebuild /p:Configuration=Release
-
-"\Program Files\Debugging Tools for Windows (x86)\symstore.exe" add /r /f "%UDM_PATH%" /s \\kms1\symbols /t Udm /v "3.2.7"
-"\Program Files\Debugging Tools for Windows (x86)\symstore.exe" add /r /f "%GREAT_PATH%" /s \\kms1\symbols /t UdmGReAT /v "3.2.7"
-
-svn export https://svn.isis.vanderbilt.edu/MoBIES/UDM/tags/A3_2_7 Udm_source_r3.2.7
-# run InnoSetup on %UDM_PATH%\InnoSetup\
-# rename InnoSetup output UDM_r3_2_5.exe
+msbuild "%UDM_PATH%"\make.msbuild /t:Installer
+# rename InnoSetup output UDM_r3_2_8.exe
 # test installer http://kms1/svn/installs/ vm_installs_test.py secrets-installtest2.py
+
+export JOB_NAME=Udm
+export BUILD_NUMBER=3.2.8
+pushd %UDM_PATH%
+"%GREAT_PATH%"\common-scripts\hudson_archive_pdbs.cmd
+pushd %GREAT_PATH%
+"%GREAT_PATH%"\common-scripts\hudson_archive_pdbs.cmd
+"\Program Files\Debugging Tools for Windows (x86)\symstore.exe" add /r /f "%UDM_PATH%" /s \\kms1\symbols /t Udm /v "3.2.8"
+"\Program Files\Debugging Tools for Windows (x86)\symstore.exe" add /r /f "%GREAT_PATH%" /s \\kms1\symbols /t UdmGReAT /v "3.2.8"
+
 # ------------------------
 # bash
-/c/Program\ Files/7-Zip/7z.exe a -r Udm_source_r3.2.7.zip Udm_source_r3.2.7/
-cp Udm_source_r3.2.7/releaseinfo.txt UDM_Release_Notes.txt 
-
-ssh ksmyth at repo.isis.vanderbilt.edu mkdir /project/www/Download/UDM/3.2.7/
-scp UDM_Release_Notes.txt UDM_r3_2_7.exe Udm_source_r3.2.7.zip ksmyth at repo.isis.vanderbilt.edu:/project/www/Download/UDM/3.2.7/
-ssh ksmyth at repo.isis.vanderbilt.edu chmod -R a+r /project/www/Download/UDM/3.2.7/
+svn export https://svn.isis.vanderbilt.edu/MoBIES/UDM/tags/A3_2_8 Udm_source_r3.2.8
+/c/Program\ Files/7-Zip/7z.exe a -r Udm_source_r3.2.8.zip Udm_source_r3.2.8/
+cp Udm_source_r3.2.8/releaseinfo.txt UDM_Release_Notes.txt 
+
+ssh ksmyth at repo.isis.vanderbilt.edu mkdir /project/www/Download/UDM/3.2.8/
+scp UDM_Release_Notes.txt UDM_r3_2_8.exe Udm_source_r3.2.8.zip ksmyth at repo.isis.vanderbilt.edu:/project/www/Download/UDM/3.2.8/
+ssh ksmyth at repo.isis.vanderbilt.edu chmod -R a+r /project/www/Download/UDM/3.2.8/
 
 # For GReAT release:
 "\Program Files\Debugging Tools for Windows (x86)\symstore.exe" add /r /f "%GREAT_PATH%" /s \\kms1\symbols /t GReAT /v "1.7.5"
@@ -80,7 +74,7 @@
 ssh ksmyth at repo.isis.vanderbilt.edu chmod -R a+r /project/www/Download/GReAT/1.7.5
 
 # For Udm and GReAT
-# On http://repo add Folder 3.2.5; add Download UDM_Release_Notes.txt, UDM_r3_2_5.exe, Udm_source_r3.2.5.zip
+# On http://repo add Folder 3.2.8; add Download UDM_Release_Notes.txt, UDM_r3_2_8.exe, Udm_source_r3.2.8.zip
 # JIRA: make release
 # email announcement
 # change http://kms1/svn/installs/install.py sync to installs/install.exe, https://svn.isis.vanderbilt.edu/isis-common/trunk/common-scripts/install.exe

Modified: UDM/trunk/UDM_compile_guideVS2008.txt
==============================================================================
--- UDM/trunk/UDM_compile_guideVS2008.txt	Thu May 12 10:16:37 2011	(r3736)
+++ UDM/trunk/UDM_compile_guideVS2008.txt	Fri May 13 12:45:34 2011	(r3737)
@@ -7,6 +7,7 @@
 -------------------
 	- Visual Studio 2008 or 2010
 	- J2SE 1.5 (or later) JDK
+	- (For UdmCliGen.exe) Python 2.6 with py2exe
 
 Step-by-step guide:
 -------------------------
@@ -17,15 +18,11 @@
 		https://svn.isis.vanderbilt.edu/isis-common/trunk/3rdparty/
 
 	3. Set your build environment as follows:
-	For VS2008, add $(LIB) and $(INCLUDE) to Tools/Options/Projects and Solutions/VC++ Directories or use devenv's command-line switch /useenv
-
-	(Note: you may create a script called scripts/vc9-env-local.bat to set the following)
 	UDM_PATH=
 		your https://svn.isis.vanderbilt.edu/MoBIES/UDM/trunk/ working copy
 	UDM_3RDPARTY_PATH=
-		the UDM_VS2008 or UDM_VS2010 subdirectory of your https://svn.isis.vanderbilt.edu/isis-common/trunk/3rdparty/ working copy
+		the UDM_VS2010 subdirectory of your https://svn.isis.vanderbilt.edu/isis-common/trunk/3rdparty/ working copy
 	JDK_PATH=
 		your Java 1.5 (or later) JDK path, e.g. c:\Program Files\Java\jdk1.6.0_16
-	Then run scripts/vc9-env.bat
 
 	4. Use Projects/Win32/VC9/src/Udm.sln for VS2008 or Projects/Win32/VC10/src/Udm.sln for VS2010


More information about the Mobies-commit mailing list