Wednesday, January 31, 2007, 05:10 AM ( 20 views )
- .NET
Nella sezione multimedia di dotnetmarche ho pubblicato il mio terzo screencast, a chi interessa sa dove si trova :PAlk.
0 trackbacks
| permalink
| related link
| 







Wednesday, January 31, 2007, 02:30 AM
- .NET
If you, after read chapter 23 of spring.net documentation, are surprised that Spring.Services.WindowsServices.Installer.exe program, needed to install windows.services part of Spring.Net, is missing. Where is missing file Spring.Services.WindowsService.Installer.exe ???
Here it is my steps to build it, but maybe spring documentation could be clearer
1) Download and install CVS client for windows. (CVSNT)
2) grab latest source of Spring .NET with the following two dos command (The first one will prompt you for a password, simply press enter without writing any char)
cvs -d:pserver:anonymous@springnet.cvs.sourceforge.net:/cvsroot/springnet login
cvs -z3 -d:pserver:anonymous@springnet.cvs.sourceforge.net:/cvsroot/springnet co -P Spring.Net
3) Download and install NANT and NANT contrib. Version 0.85 was fine for me, you can try with older version too.
4) Open Spring.Build file, locate the target "compile-net-2.0". Here you find that the part related to Spring.Windows.Services is commented out. Uncomment it, but also move it to the end of the target, just before the </if> tag.
5) Compile everything with the dos command nant daily-build-2.0
enjoy the library.
This is my modified target if you like
<target name="compile-net-2.0" description="Builds .NET Framework 2.0 version"
depends="set-net-2.0-runtime-configuration, check-spring-basedir, clean-current-bin-dir, TestInit">
<property name="temp.build.skip" value="false"/>
<call target="copykeys"/>
<if test="${not temp.build.skip}">
<property name="lib.dir"
value="${spring.basedir}/lib/${framework::get-family(framework::get-target-framework())}/${framework::get-version(framework::get-target-framework())}"/>
<call target="copylibs"/>
<nant buildfile="src/Spring/Spring.Core/Spring.Core.build" target="build"/>
<nant buildfile="src/Spring/Spring.Aop/Spring.Aop.build" target="build" if="${build-aop}"/>
<nant buildfile="src/Spring/Spring.Web/Spring.Web.build" target="build" if="${build-web}"/>
<nant buildfile="src/Spring/Spring.Data/Spring.Data.build" target="build" if="${build-data}"/>
<nant buildfile="src/Spring/Spring.Services/Spring.Services.build" target="build" if="${build-services}"/>
<nant buildfile="src/Spring/Spring.Testing/Spring.Testing.build" target="build" if="${build-testing}"/>
<nant buildfile="examples/Spring/Spring.Examples.build" target="build">
<!-- over ride setting -->
<properties>
<!-- TODO some compile errors... ignore for now. -->
<property name="build-web" value="false"/>
</properties>
</nant>
<nant buildfile="sandbox/Spring.Sandbox.build" target="build" if="${build-sandbox}">
<!-- over ride setting -->
<properties>
<!-- TODO some compile errors... ignore for now. -->
<property name="build-data" value="false"/>
<property name="nowarn.numbers" value="${nowarn.numbers},0419"/>
</properties>
</nant>
<nant buildfile="test/Spring/Spring.Core.Tests/Spring.Core.Tests.build" target="test"/>
<nant buildfile="test/Spring/Spring.Aop.Tests/Spring.Aop.Tests.build" target="test" if="${build-aop}"/>
<nant buildfile="test/Spring/Spring.Data.Tests/Spring.Data.Tests.build" target="test" if="${build-data}"/>
<nant buildfile="test/Spring/Spring.Data.Integration.Tests/Spring.Data.Integration.Tests.build" target="test" if="${build-data}"/>
<!--
<nant buildfile="test/Spring/Spring.Services.Tests/Spring.Services.Tests.build" target="test" if="${build-services}"/>
-->
<nant buildfile="test/Spring/Spring.Web.Tests/Spring.Web.Tests.build" target="test" if="${build-web}"/>
<nant buildfile="sandbox/Spring.Sandbox.build" target="test" if="${build-sandbox}">
<!-- over ride setting -->
<properties>
<!-- TODO some compile errors... ignore for now. -->
<property name="build-data" value="false"/>
<property name="nowarn.numbers.test" value="${nowarn.numbers.test},1718"/>
</properties>
</nant>
<!-- has dependencies on sandbox Spring.Threading....-->
<nant buildfile="src/Spring/Spring.Services/Spring.Services.WindowsService.Common.build" target="build"
if="${build-winservices}"/>
<nant buildfile="src/Spring/Spring.Services/Spring.Services.WindowsService.Process.build" target="build"
if="${build-winservices}"/>
<nant buildfile="src/Spring/Spring.Services/Spring.Services.WindowsService.Gui.build" target="build"
if="${build-winservices}"/>
<nant buildfile="src/Spring/Spring.Services/Spring.Services.WindowsService.Installer.build" target="build"
if="${build-winservices}"/>
</if>
</target>
Monday, January 29, 2007, 03:35 AM
- .NET
Ho appena pubblicato la seconda parte dell'articolo sui plugin su dotnetmarche, potete leggerlo quì.Friday, January 5, 2007, 06:37 AM
- .NET
Per provare le funzionalità di codeplex ho aperto un progettino stupido stupido chiamato http://www.codeplex.com/yavl/.Debbo dire che le funzionalità e la responsività del source control sono decisamente carine.
Alk.
Friday, December 29, 2006, 09:37 AM
- .NET
Nella apposita sezione multimedia di dotnetmarche ho pubblicato il mio secondo screencast, a breve il terzo sempre sul clr profiler.Alk.
Next






