[nant-dev] Re: BSD license for NAnt?
I don't know if there has been a consensus about the license change. The discussion kind of petered off after a while. I'm still supporting either LGPL or GPL with linking/plugins exception, however. Matt. Jaroslaw Kowalski wrote: Hi! According to releaseplan.html a "Move to an Apache or BSD-style license." is planned for 0.9. As I'm going to contribute some code to NAnt (expression evaluator) I have a concern: I'd like my code to be BSD-licensed. Do I need to do anything special to be GPL-compatible? Is it ok if I just place the BSD header on top of my sources? Jarek --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] readonly resources
Hello, I'm using nant-0.8.3 for our builds and yesterday I have found a problem. I know that lots of things have changed in since the release, still I hope this problem to fixed in the 0.8.4. When building solution which uses embedded resource (doc.bmp in the example below) and the file with this resource is readonly (in reality, it is just being taken from the perforce during build) the build fails because of UnauthorizedAccessException. To workaround this problem I have to set attributes of all resource files to normal before calling solution task and reset back to readobly after, which is not so nice and creates problems with non-readonly files in case of failing solution task (oh, is still in the end of my todo). part of the log: build.csproj: [copy] Copying 1 file. [copy] Copying E:\Root\Transaction\src\VersionInfo.cs to E:\Root\Transaction\src\SupplyChain\Common\VersionInfo.cs. [attrib] Setting file attributes for 1 files to Normal. [attrib] E:\Root\Transaction\src\SupplyChain\Common\VersionInfo.cs [solution] Starting solution build. [solution] Included projects: [solution] - E:\Root\Transaction\src\SupplyChain\Common\Common.csproj [solution] Reference projects: [solution] Building Common [Debug]... [solution] Copying references: [solution] - System.Drawing . some other references . [solution] Compiling resources: [solution] - E:\Root\Transaction\src\SupplyChain\Common\GUI\FoldersGrid.resx [resgen] Starting 'D:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\bin\resgen.exe ("E:\Root\Transaction\src\SupplyChain\Common\GUI\FoldersGrid.resx" "D:\DOCUME~1\TARASO~1.000\LOCALS~1\Temp\l-rbiwnk\Transaction.SupplyChain.Common.GUI.FoldersGrid.resources")' in 'E:\Root\Transaction' Read in 13 resources from 'E:\Root\Transaction\src\SupplyChain\Common\GUI\FoldersGrid.resx' Writing resource file... Done. [solution] - E:\Root\Transaction\src\SupplyChain\Common\GUI\FieldChooser.resx [resgen] Starting 'D:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\bin\resgen.exe ("E:\Root\Transaction\src\SupplyChain\Common\GUI\FieldChooser.resx" "D:\DOCUME~1\TARASO~1.000\LOCALS~1\Temp\l-rbiwnk\Transaction.SupplyChain.Common.GUI.FieldChooser.resources")' in 'E:\Root\Transaction' Read in 46 resources from 'E:\Root\Transaction\src\SupplyChain\Common\GUI\FieldChooser.resx' Writing resource file... Done. [solution] - E:\Root\Transaction\src\SupplyChain\Common\GUI\InfoTabs.resx [resgen] Starting 'D:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\bin\resgen.exe ("E:\Root\Transaction\src\SupplyChain\Common\GUI\InfoTabs.resx" "D:\DOCUME~1\TARASO~1.000\LOCALS~1\Temp\l-rbiwnk\Transaction.SupplyChain.Common.GUI.Tabs.resources")' in 'E:\Root\Transaction' Read in 82 resources from 'E:\Root\Transaction\src\SupplyChain\Common\GUI\InfoTabs.resx' Writing resource file... Done. [solution] - E:\Root\Transaction\src\SupplyChain\Common\doc.bmp [solution] - E:\Root\Transaction\src\SupplyChain\Common\GUI\FoldersTree.resx [resgen] Starting 'D:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\bin\resgen.exe ("E:\Root\Transaction\src\SupplyChain\Common\GUI\FoldersTree.resx" "D:\DOCUME~1\TARASO~1.000\LOCALS~1\Temp\l-rbiwnk\Transaction.SupplyChain.Common.GUI.TreeFolder.resources")' in 'E:\Root\Transaction' Read in 68 resources from 'E:\Root\Transaction\src\SupplyChain\Common\GUI\FoldersTree.resx' Writing resource file... Done. [solution] Starting compiler... [solution] Success! (exit code = 0) Target failed, calling onfail target 'SupplyChain.Common.failed' SupplyChain.Common.failed: Target failed, calling onfail target 'build.all.failed' build.all.failed: Total time: 6 seconds. BUILD FAILED INTERNAL ERROR System.UnauthorizedAccessException: Access to the path "Common.doc.bmp" is denied. at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName) at NAnt.Core.Project.Execute() at NAnt.Core.Project.Run() Please send bug report to [EMAIL PROTECTED] -- Best regards, Ivan mailto:[EMAIL PROTECTED] * The number you have dialed is imaginary. Please rotate your phone 90 degrees and try again. --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] BSD license for NAnt?
Hi! According to releaseplan.html a "Move to an Apache or BSD-style license." is planned for 0.9. As I'm going to contribute some code to NAnt (_expression_ evaluator) I have a concern: I'd like my code to be BSD-licensed. Do I need to do anything special to be GPL-compatible? Is it ok if I just place the BSD header on top of my sources? Jarek
[nant-dev] task in Ant
Hi, I've just polished up a little sandbox project I've built over in Ant land, a task library to help a little in a .NET world. There isn't any documentation yet, but I wanted to run what I currently have by you for some feedback. One of the tasks is a task. This can be used to invoke NAnt on an existing build file like buildfile, target and property are all optional. buildfile corresponds to the -buildfile: switch, (which can be repeated) to -D:name=value and (which can be repeated) lists targets. There is an additional mode, and that can be used to nest the NAnt build file into Ant's: and the task is even smart enough to wrap a around non-project elements, i.e. creates a temporary build file, nests the into an empty and runs NAnt on it. The result (Linux, NAnt from CVS some weeks ago and Mono, BTW): [EMAIL PROTECTED] dotnet]$ ant -f /tmp/nant.xml Buildfile: /tmp/nant.xml [nant] NAnt version 0.8.4 Copyright (C) 2001-2003 Gerry Shaw [nant] http://nant.sourceforge.net [nant] Buildfile: file://tmp/build956726090.xml [nant] [echo] This is NAnt [nant] BUILD SUCCEEDED [nant] Total time: 0.1 seconds. BUILD SUCCESSFUL Total time: 2 seconds (The namespace stuff is there for Ant, as I've implemented the tasks in an "antlib" that's bound to a namespace - ignore it.) Any feedback is appreciated, in particular: should I expose more NAnt command line arguments (which)? I can give build instructions, if anybody is interested. Cheers Stefan PS: the URL echoed by NAnt looks wrong, it should have three slashes. PPS: I've done the same for MSBuild, but can't test it. -- http://stefanbodewig.blogger.de/ --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
RE: [nant-dev] 0.8.4 Beta
Cvs-update and cvs-checkout changes added. > -Original Message- > From: Gert Driesen [mailto:[EMAIL PROTECTED] > Sent: November 26, 2003 11:22 AM > To: Nant-Developers (E-Mail); [EMAIL PROTECTED] > Subject: [nant-dev] 0.8.4 Beta > > Hi, > > I'd like to ensure that the release notes for both NAnt and NAntContrib > are > complete. > > Can everyone that contributed code to NAnt and NAntContrib since the 0.8.3 > release double-check whether the release notes (/doc/releasenotes.html in > NAnt/NAntContrib cvs or /releasenotes.html on the NAnt and NAntContrib > websites) are complete and correct ? > > Please validate the updated XHTML using the W3C MarkUp Validation Service > (http://validator.w3.org/) if you make changes to make sure we keep the > html > docs XHTML 1.1 compliant ... > > Things that still need to be added (that I know of) are : > > - changes to cvs tasks (Clayton, can you take care of this ?) > - changes to solution task (I'm thinking of webmap support and stuff) > > But I'm probable missing some stuff, so feel free to correct me (and the > release notes) ... > > Thanks, > > Gert > > > > > --- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > ___ > nant-developers mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-developers --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Resource and culture problem
Hi Nicke, Do you think you could post a sample project with buildfile and source that demonstrates this. Generating correct resource prefixes in the same manner as visual studio is quite tricky and there has been some changes in this area recently. A sample will help us to track down whats goping wrong. Thanks Ian Hi dear all. I've ran into a problem I don't quite understand. I hope someone else knows more then me and can help. Compiling a number of projects I'm getting problems with error messages when the output is being used. The error is: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure "FndCollapsiblePanel.resources" was correctly embedded or linked into assembly "Ifs.Fnd.Windows.Forms.CollapsiblePanel". baseName: FndCollapsiblePanel locationInfo: Ifs.Fnd.Windows.Forms.CollapsiblePanel.FndCollapsiblePanel resource file name: FndCollapsiblePanel.resources assembly: Ifs.Fnd.Windows.Forms.CollapsiblePanel, Version=1.0.0.0, Culture=neutral... I've spent a day searching all over for some answer, workaround or something to help but have found nothing, only similar stuff. Checking everything I can possibly think of, such as culture being set to neutral and all kinds of stuff I've found nothing abnormal. Looks like it should work. Compiling the same solution file with VS .NET 2003 gives me other binaries. They vary within a few kb in size. And for this particular dll there is a difference in the embedded resource in the compiled-in Manifest. ILDASM shows the following: NAnt Manifest, resource part: .mresource public FndCollapsiblePanel.resources { } .mresource public Ifs.Fnd.Windows.Forms.CollapsiblePanel.FndCollapsiblePanelBar.resources { } VS .NET 2003 compiled dll, same manifest part: .mresource public Ifs.Fnd.Windows.Forms.CollapsiblePanel.FndCollapsiblePanel.resources { } .mresource public Ifs.Fnd.Windows.Forms.CollapsiblePanel.FndCollapsiblePanelBar.resources { } Is this difference the problem? Is it a result of a bug in NAnt or did I do something wrong somewhere? I ran NAnt nightly build 20031125 in this case. /Nicke --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers -- Ian MacLean, Developer, ActiveState, a division of Sophos http://www.ActiveState.com --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] Resource and culture problem
Hi dear all. I've ran into a problem I don't quite understand. I hope someone else knows more then me and can help. Compiling a number of projects I'm getting problems with error messages when the output is being used. The error is: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure "FndCollapsiblePanel.resources" was correctly embedded or linked into assembly "Ifs.Fnd.Windows.Forms.CollapsiblePanel". baseName: FndCollapsiblePanel locationInfo: Ifs.Fnd.Windows.Forms.CollapsiblePanel.FndCollapsiblePanel resource file name: FndCollapsiblePanel.resources assembly: Ifs.Fnd.Windows.Forms.CollapsiblePanel, Version=1.0.0.0, Culture=neutral... I've spent a day searching all over for some answer, workaround or something to help but have found nothing, only similar stuff. Checking everything I can possibly think of, such as culture being set to neutral and all kinds of stuff I've found nothing abnormal. Looks like it should work. Compiling the same solution file with VS .NET 2003 gives me other binaries. They vary within a few kb in size. And for this particular dll there is a difference in the embedded resource in the compiled-in Manifest. ILDASM shows the following: NAnt Manifest, resource part: .mresource public FndCollapsiblePanel.resources { } .mresource public Ifs.Fnd.Windows.Forms.CollapsiblePanel.FndCollapsiblePanelBar.resources { } VS .NET 2003 compiled dll, same manifest part: .mresource public Ifs.Fnd.Windows.Forms.CollapsiblePanel.FndCollapsiblePanel.resources { } .mresource public Ifs.Fnd.Windows.Forms.CollapsiblePanel.FndCollapsiblePanelBar.resources { } Is this difference the problem? Is it a result of a bug in NAnt or did I do something wrong somewhere? I ran NAnt nightly build 20031125 in this case. /Nicke --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers