From: <st...@us...> - 2010-11-13 20:30:27
|
Revision: 1622 http://cs-sdl.svn.sourceforge.net/cs-sdl/?rev=1622&view=rev Author: stekman Date: 2010-11-13 20:30:17 +0000 (Sat, 13 Nov 2010) Log Message: ----------- - Copy datafiles for gui to dist - Fix for path in gui-example - dos2unix for some shell-scripts (more left to change) Modified Paths: -------------- branches/experimental/SdlDotNet.build branches/experimental/build.sh branches/experimental/create-installer.sh branches/experimental/examples/SdlDotNetExamples/SmallDemos/GuiExample.cs Modified: branches/experimental/SdlDotNet.build =================================================================== --- branches/experimental/SdlDotNet.build 2010-11-13 18:25:12 UTC (rev 1621) +++ branches/experimental/SdlDotNet.build 2010-11-13 20:30:17 UTC (rev 1622) @@ -9,8 +9,8 @@ <echo message="Using '${platform::get-name()}' Platform"/> <!-- global project settings --> - <property name="project.config" value="Release" /> - <property name="project.version" value="6.1.0" /> + <property name="project.config" value="Debug" /> + <property name="project.version" value="6.9.0" /> <property name="src.dir" value="src" /> <property name="examples.dir" value="examples" /> <property name="extras.dir" value="extras" /> @@ -241,6 +241,11 @@ <include name="examples/**/Data/**" /> </fileset> </copy> + <copy todir="${dist.dir}/${string::to-lower(project::get-name())}-${project.version}/${examples.dir}/Data/Widgets" flatten="false"> + <fileset basedir="examples/SdlDotNetExamples/Data/Widgets"> + <include name="**/*" /> + </fileset> + </copy> <if test="${is-osx}"> <property name="examples.path" value="${dist.dir}/${string::to-lower(project::get-name())}-${project.version}/${examples.dir}"/> <exec program="macpack" commandline="-m:2 -o:${examples.path} -m cocoa -r:${examples.path}/SdlDotNet.dll -r:${examples.path}/SdlDotNet.dll.config -r:${examples.path}/Tao.Sdl.dll -r:${examples.path}/Tao.Sdl.dll.config -r:${examples.path}/Tao.OpenGl.dll -r:${examples.path}/Tao.OpenGl.dll.config -r:${examples.path}/Data -i:tools/logos/sdldotnet.icns -n:SdlDotNetExamples -a:${examples.path}/SdlDotNetExamples.exe" /> Modified: branches/experimental/build.sh =================================================================== --- branches/experimental/build.sh 2010-11-13 18:25:12 UTC (rev 1621) +++ branches/experimental/build.sh 2010-11-13 20:30:17 UTC (rev 1622) @@ -1,2 +1,2 @@ -#!/bin/sh -nant mono-2.0 package +#!/bin/sh +nant mono-2.0 package Modified: branches/experimental/create-installer.sh =================================================================== --- branches/experimental/create-installer.sh 2010-11-13 18:25:12 UTC (rev 1621) +++ branches/experimental/create-installer.sh 2010-11-13 20:30:17 UTC (rev 1622) @@ -1,2 +1,2 @@ -#!/bin/sh -nant mono-2.0 create-installer +#!/bin/sh +nant mono-2.0 create-installer Modified: branches/experimental/examples/SdlDotNetExamples/SmallDemos/GuiExample.cs =================================================================== --- branches/experimental/examples/SdlDotNetExamples/SmallDemos/GuiExample.cs 2010-11-13 18:25:12 UTC (rev 1621) +++ branches/experimental/examples/SdlDotNetExamples/SmallDemos/GuiExample.cs 2010-11-13 20:30:17 UTC (rev 1622) @@ -49,6 +49,11 @@ } public void Go() { + if (File.Exists(Path.Combine(dataDirectory,fontName))) + { + + filePath = ""; + } Video.WindowIcon(); Video.WindowCaption = "SDL.NET - Gui Example"; screen = Video.SetVideoMode(640, 480, 16); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |