From cbfbed206bbde9ffdcded03f31a6834b5faa9ce6 Mon Sep 17 00:00:00 2001 From: Marko Lahma Date: Mon, 14 May 2012 08:45:02 +0300 Subject: [PATCH] Fixing compilation and configuration issues in Spring.Scheduling.Quartz.Example --- build-support/solutions.build.nant | 4 ---- .../src/ExampleJob.cs | 4 +--- .../src/Spring.Scheduling.Quartz.Example.2008.csproj | 12 ++++++++---- .../src/Spring.Scheduling.Quartz.Example.2010.csproj | 12 ++++++++---- .../src/spring-objects.xml | 12 ++++++------ 5 files changed, 23 insertions(+), 21 deletions(-) diff --git a/build-support/solutions.build.nant b/build-support/solutions.build.nant index 7ae39ab9..c7e3a458 100644 --- a/build-support/solutions.build.nant +++ b/build-support/solutions.build.nant @@ -116,10 +116,6 @@ Rebuilding Solutions using Nant and "solutions.build": - - - - diff --git a/examples/Spring/Spring.Scheduling.Quartz.Example/src/ExampleJob.cs b/examples/Spring/Spring.Scheduling.Quartz.Example/src/ExampleJob.cs index dc815cee..141a2606 100644 --- a/examples/Spring/Spring.Scheduling.Quartz.Example/src/ExampleJob.cs +++ b/examples/Spring/Spring.Scheduling.Quartz.Example/src/ExampleJob.cs @@ -2,8 +2,6 @@ using System; using Quartz; -using Spring.Scheduling.Quartz; - namespace Spring.Scheduling.Quartz.Example { /// @@ -26,7 +24,7 @@ namespace Spring.Scheduling.Quartz.Example /// Execute. /// /// - protected override void ExecuteInternal(JobExecutionContext context) + protected override void ExecuteInternal(IJobExecutionContext context) { Console.WriteLine("{0}: ExecuteInternal called, user name: {1}, next fire time {2}", DateTime.Now, userName, context.NextFireTimeUtc.Value.ToLocalTime()); diff --git a/examples/Spring/Spring.Scheduling.Quartz.Example/src/Spring.Scheduling.Quartz.Example.2008.csproj b/examples/Spring/Spring.Scheduling.Quartz.Example/src/Spring.Scheduling.Quartz.Example.2008.csproj index 3f594d2e..17f8280f 100644 --- a/examples/Spring/Spring.Scheduling.Quartz.Example/src/Spring.Scheduling.Quartz.Example.2008.csproj +++ b/examples/Spring/Spring.Scheduling.Quartz.Example/src/Spring.Scheduling.Quartz.Example.2008.csproj @@ -18,7 +18,7 @@ IE50 false Exe - Spring + Spring.Scheduling.Quartz.Example OnBuildSuccess @@ -76,21 +76,25 @@ prompt + + C5 + ..\..\..\..\lib\Quartz20\net\3.5\C5.dll + Common.Logging ..\..\..\..\lib\net\2.0\Common.Logging.dll Quartz - ..\..\..\..\lib\Quartz10\net\3.5\Quartz.dll + ..\..\..\..\lib\Quartz20\net\3.5\Quartz.dll False ..\..\..\..\bin\net\3.5\debug\Spring.Core.dll - + False - ..\..\..\..\bin\net\3.5\debug\Spring.Scheduling.Quartz.dll + ..\..\..\..\bin\net\3.5\debug\Spring.Scheduling.Quartz20.dll System diff --git a/examples/Spring/Spring.Scheduling.Quartz.Example/src/Spring.Scheduling.Quartz.Example.2010.csproj b/examples/Spring/Spring.Scheduling.Quartz.Example/src/Spring.Scheduling.Quartz.Example.2010.csproj index 9303470b..e85800f8 100644 --- a/examples/Spring/Spring.Scheduling.Quartz.Example/src/Spring.Scheduling.Quartz.Example.2010.csproj +++ b/examples/Spring/Spring.Scheduling.Quartz.Example/src/Spring.Scheduling.Quartz.Example.2010.csproj @@ -19,7 +19,7 @@ IE50 false Exe - Spring + Spring.Scheduling.Quartz.Example OnBuildSuccess @@ -54,7 +54,7 @@ DEBUG;TRACE - + true 4096 false @@ -94,13 +94,17 @@ AllRules.ruleset + + C5 + ..\..\..\..\lib\Quartz20\net\3.5\C5.dll + Common.Logging ..\..\..\..\lib\net\2.0\Common.Logging.dll Quartz - ..\..\..\..\lib\Quartz10\net\3.5\Quartz.dll + ..\..\..\..\lib\Quartz20\net\4.0\Quartz.dll False @@ -108,7 +112,7 @@ False - ..\..\..\..\bin\net\4.0\debug\Spring.Scheduling.Quartz.dll + ..\..\..\..\bin\net\4.0\debug\Spring.Scheduling.Quartz20.dll System diff --git a/examples/Spring/Spring.Scheduling.Quartz.Example/src/spring-objects.xml b/examples/Spring/Spring.Scheduling.Quartz.Example/src/spring-objects.xml index e10e05e4..56ef03a7 100644 --- a/examples/Spring/Spring.Scheduling.Quartz.Example/src/spring-objects.xml +++ b/examples/Spring/Spring.Scheduling.Quartz.Example/src/spring-objects.xml @@ -2,7 +2,7 @@ - + @@ -17,20 +17,20 @@ - + - + - + @@ -40,13 +40,13 @@ - + - +