|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Old version of dependenciesI'm trying to update dependencies on Windsor. I got latest build of Core, copied it to DP folder, ran tests, committed, waited till it builds on the TC, I got DP and Core from TC, copied to Windsors folder, ran test, committed etc. BUT. The versions of Core that gets packaged with DP is not the same that is in the lib! Same with DP - version that is part of IoC package is not the same version I put in Lib. It's much older. So how do I reliably update dependecies? Where does TC take these old versions and how do I make it take the new ones? Krzysztof --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To post to this group, send email to castle-project-devel@... To unsubscribe from this group, send email to castle-project-devel+unsubscribe@... For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Old version of dependenciesThat may be a bug with the new buildscript. What happens if you delete the build folder? Here is what the build script is doing at the moment: <target name="common.copy.project.references"> <foreach item="File" property="filename"> <in> <items> <include name="${common.scripts.dir}/../lib/$ {nant.settings.currentframework}/x64/*.dll" if="${os.x64}"/> <include name="${common.scripts.dir}/../lib/$ {nant.settings.currentframework}/x86/*.dll" unless="${os.x64}"/> <include name="${common.scripts.dir}/../lib/$ {nant.settings.currentframework}/*.dll" /> <include name="${common.scripts.dir}/../lib/*.dll" /> </items> </in> <do> <if test="${not file::exists(path::combine(build.dir, path::get- file-name(filename)))}"> <copy file="${filename}" todir="${build.dir}" overwrite="true" /> </if> </do> </foreach> <!-- Copy Silverlight 2.0 CoreCLR libraries --> <if test="${common.silverlight}"> <copy todir="${build.dir}" overwrite="true"> <fileset basedir="${environment::get-folder-path('ProgramFiles')}/ Microsoft SDKs/Silverlight/v2.0/Reference Assemblies"> <include name="System.dll" /> </fileset> </copy> </if> </target> I think the problem is <if test="${not file::exists(path::combine (build.dir, path::get-file-name(filename)))}"> I can't put a fix in right now, can you do it? Cheers John On Oct 30, 10:12 am, Krzysztof Koźmic <krzysztof.koz...@...> wrote: > I'm trying to update dependencies on Windsor. > I got latest build of Core, copied it to DP folder, ran tests, > committed, waited till it builds on the TC, > I got DP and Core from TC, copied to Windsors folder, ran test, > committed etc. > > BUT. > > The versions of Core that gets packaged with DP is not the same that is > in the lib! > Same with DP - version that is part of IoC package is not the same > version I put in Lib. It's much older. > > So how do I reliably update dependecies? Where does TC take these old > versions and how do I make it take the new ones? > > Krzysztof You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To post to this group, send email to castle-project-devel@... To unsubscribe from this group, send email to castle-project-devel+unsubscribe@... For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Old version of dependenciesJust remove the <if test .... Because the copy task only copied if the source file is newer than the destination file anyway On Oct 30, 10:20 am, John Simons <johnsimons...@...> wrote: > That may be a bug with the new buildscript. > What happens if you delete the build folder? > > Here is what the build script is doing at the moment: > <target name="common.copy.project.references"> > <foreach item="File" property="filename"> > <in> > <items> > <include name="${common.scripts.dir}/../lib/$ > {nant.settings.currentframework}/x64/*.dll" if="${os.x64}"/> > <include name="${common.scripts.dir}/../lib/$ > {nant.settings.currentframework}/x86/*.dll" unless="${os.x64}"/> > <include name="${common.scripts.dir}/../lib/$ > {nant.settings.currentframework}/*.dll" /> > <include name="${common.scripts.dir}/../lib/*.dll" /> > </items> > </in> > <do> > <if test="${not file::exists(path::combine(build.dir, path::get- > file-name(filename)))}"> > <copy file="${filename}" todir="${build.dir}" overwrite="true" /> > </if> > </do> > </foreach> > > <!-- Copy Silverlight 2.0 CoreCLR libraries --> > <if test="${common.silverlight}"> > <copy todir="${build.dir}" overwrite="true"> > <fileset basedir="${environment::get-folder-path('ProgramFiles')}/ > Microsoft SDKs/Silverlight/v2.0/Reference Assemblies"> > <include name="System.dll" /> > </fileset> > </copy> > </if> > </target> > > I think the problem is <if test="${not file::exists(path::combine > (build.dir, path::get-file-name(filename)))}"> > > I can't put a fix in right now, can you do it? > > Cheers > John > > On Oct 30, 10:12 am, Krzysztof Koźmic <krzysztof.koz...@...> > wrote: > > > I'm trying to update dependencies on Windsor. > > I got latest build of Core, copied it to DP folder, ran tests, > > committed, waited till it builds on the TC, > > I got DP and Core from TC, copied to Windsors folder, ran test, > > committed etc. > > > BUT. > > > The versions of Core that gets packaged with DP is not the same that is > > in the lib! > > Same with DP - version that is part of IoC package is not the same > > version I put in Lib. It's much older. > > > So how do I reliably update dependecies? Where does TC take these old > > versions and how do I make it take the new ones? > > > Krzysztof You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To post to this group, send email to castle-project-devel@... To unsubscribe from this group, send email to castle-project-devel+unsubscribe@... For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en -~----------~----~----~----~------~----~------~--~--- |
| Free embeddable forum powered by Nabble | Forum Help |