Alkampfer's Place

Thursday, May 3, 2007, 04:49 AM - General
Riflettendo è assolutamente inutile tenere due blog, visto che il mio blog principale è sempre stato quello di ugi, ma volevo comunque tenere un blog su nablasoft.
Questo blog è un simplephpblog, nessuna richiesta di database, ma poche funzionalità, per cui ora che abbiamo cambiato hosting passando da aruba ad uno che ci costa il triplo, ma che ci offre molto di più, ho deciso di fare il grande passo...cercare di scrivere in inglese :|.

Per cui ho spostato il blog all'indirizzo http://www.nablasoft.com/alkampfer, ho utilizzato wordpress e ho iniziato a bloggare in inglese con word 2007 che mi aiuta come correttore ortografico.

Speriamo di non scrivere castronerie, correggetemi senza pietà

Alk.

Wednesday, January 31, 2007, 05:10 AM ( 37 views ) - .NET
Nella sezione multimedia di dotnetmarche ho pubblicato il mio terzo screencast, a chi interessa sa dove si trova :P

Alk.

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 :grr: .

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ì.

Thursday, January 18, 2007, 03:24 AM - Programmazione Generale
Purtroppo questi ultimi giorni soffro veramente di mancanza di tempo, di contro sono contento perché sto ritagliando del tempo per vedere nhibernate che sicuramente è un orm di tutto rispetto. Mi spiace solamente di non avere tempo di proseguire il tuttorial su CC.NET come vorrei.

Alk.

Next