[nant-dev] FTP task

2005-01-04 Thread Sascha Andres
Hi, David Alpert has enhanced my ftp-tasks with many new features. You can have a look at his new page[1]. AFAIR all the changes proposed are included. Personally I think the task could be a candidate for 0.9 Release. I just list the changes as has sent them to me: --- quoting David Alpert a.

Re: [nant-dev] FTP task

2005-01-04 Thread Sascha Andres
Hi, * Sascha Andres wrote on 04.01.2005 (15:49): > I just list the changes as has sent them to me: ^^ Sorry, I wrote the text first, and forgot the name. I inserted placehold

[nant-dev] [New task] Stopwatch

2004-07-13 Thread Sascha Andres
Hi, here is a new task. Generally it's a task to measure the time between two calls of it. -sa -- sa at programmers-world dot com http://www.livingit.de Internet sites: http://www.not2long.net - Make long links short Boomarks online: http://www.mobile-bookmarks.info using System; using NAnt

Re: [nant-dev] NAnt & Namespaces

2004-07-13 Thread Sascha Andres
Hi, * Troy Laurin wrote on 13.07.2004 (15:57): > Defining namespace in the class defining the task is an interesting idea > and a possible solution... it's worth comparing this with the other > viable solutions to see what's the best solution, both in terms of > functionality as well as correctness

Re: [nant-dev] NAnt & Namespaces

2004-07-12 Thread Sascha Andres
Hi, * Troy Laurin wrote on 13.07.2004 (10:17): > Are you suggesting using the namespace for the class implementing the > task, when referencing the task in the build file? This seems like it > could be excessively verbose, to me. Well, I always use a short namespace. So I actually don't thought t

Re: [nant-dev] trycatch task ?... discussion of task communication

2004-07-12 Thread Sascha Andres
Hi, * Troy Laurin wrote on 13.07.2004 (09:24): > Sascha Andres wrote: Added above line. Deleted too much, and don't wanted to use undo after I wrote all of the text ;) > > can be accessed from all tasks. The last function adds a protected > > object to the store only readabl

Re: [nant-dev] NAnt & Namespaces

2004-07-12 Thread Sascha Andres
Hi, * Jaroslaw Kowalski wrote on 11.07.2004 (20:03): > My vote: let's NOT support it - I'd say more - let's disallow it. Simplicity > is an important thing. Let me propose a compromise, and let me tell you why: I like NAnt - one reason is, that after a short phase of learning, everyone is able to

Re: [nant-dev] trycatch task ?... discussion of task communication

2004-07-09 Thread Sascha Andres
Hi, * Martin Aliger wrote on 09.07.2004 (13:43): > to pass information from one task to other. Since speed is not main interest > in automated builds (sorry Matt - I still appreciate your optimization > work!) XML should be straightforward solution. But I never think we will > serialize XML on ever

Re: [nant-dev] trycatch task ?

2004-07-09 Thread Sascha Andres
Hi, * Martin Aliger wrote on 09.07.2004 (08:40): > I think both are cases of inter-task communication. IMO current nant is > totally missing such communication. errorproperty proposal is very limited > implementation of such communication. I'd rather prefer making something > more robust enabling m

Re: [nant-dev] FTP Task - new version

2004-06-20 Thread Sascha Andres
Hi, I did a first hack on the scripting support. The task now excutes in the following order: 1 upload binary 2 upload ascii 3 download binary 4 download ascii 5 script A short example:

[nant-dev] FTP Task - new version

2004-06-19 Thread Sascha Andres
Hi, I reworked my ftp-up and ftp-down task. The zip file containing the code for both tasks is offline. Instead there is a new file online at http://www.livingit.de/downloads/ftp-task.zip. It provides one task capable of up-/downloading ascii/binary files to an anonymous/authenticated ftp server

Re: [nant-dev] FileSet attribute

2004-06-08 Thread Sascha Andres
Hi, * Gert Driesen wrote on 07.06.2004 (12:37): > Are you using a very recent version of NAnt, as the element was > only recently added. You might want to try the element : Is 25.05.2005 recent enough? But I tried (and got deprecated messages). Nothing changed. I've overseen that the ftpup task

Re: [nant-dev] FileSet attribute

2004-06-06 Thread Sascha Andres
Hi, currently my code looks like this: // the binaries property [BuildElement("binaries")] public FileSet binaries { get { return _binaryFileset; } set { _binaryFileset = value; } } // BinaryFileset The usage: if (null != _binaryFileset)

Re: [nant-dev] 0.85 release (fwd)

2004-06-05 Thread Sascha Andres
Hi, * James Geurts wrote on 05.06.2004 (11:54): > the archives shows that this hasn't been brought up for a > little while. I'm thinking that we should push a 0.85 > release out the door. It has been over 5 months since > the last release, and I generally think that a release > would be a good thin

Re: [nant-dev] another feature request, task

2004-06-05 Thread Sascha Andres
a -- sa at programmers-world dot com http://www.livingit.de Internet sites: http://www.not2long.net - Make long links short Boomarks online: http://www.mobile-bookmarks.info 18a19 > // Sascha Andres ([EMAIL PROTECTED]) 85a87 > private bool _

Re: [nant-dev] New commandline option for extension assemblies

2004-06-04 Thread Sascha Andres
Hi, * Gert Driesen wrote on 04.06.2004 (15:43): >[intend] >For now, I named the new option /extension (short name /ext) : > > -ext[ension]:load NAnt extensions from the specified >assembly > > Is that ok, or does anybody have a better proposal ? That's p

[nant-dev] FileSet attribute

2004-06-04 Thread Sascha Andres
Hi, for my ftp tasks I try to introduce two fileset attributes, but had no real success until now. Here's how I tried: // variable: private FileSet _binaryFileset = new FileSet(); // property: [TaskAttribute("binaries")] public FileSet binaries { get { return _binaryFileset;

Re: [nant-dev] ftp task

2004-06-04 Thread Sascha Andres
Hi, * Sascha Andres wrote on 03.06.2004 (19:24): > I splitted the ftp into ftpdown and ftpup, that made the > start easier. And IMHO two tasks are easier than one task > with a switch. Now I make a proposal to enhance the tasks and to make them one. My proposal would be to use two file

[nant-dev] ftp task

2004-06-03 Thread Sascha Andres
Hi, I've done a small start for the ftp task. Well, it's a small start. Basicly I'm capable of downloading / uploading one file at a time. I used code from http://sourceforge.net/projects/dotnetftpclient/ to get this tasks running. My tests run smoothly, but there are some features that are miss

Re: [nant-dev] resgen - no default namespace used

2004-06-02 Thread Sascha Andres
Hi, * Gert Driesen wrote on 02.06.2004 (15:59): > Are you using the task standalone, or as you using a compiler task > (eg ) which takes care of the compilation of resources ? I use the csc, taking care of the resources. I'll try later to use resgen, later on including the generated resource file

[nant-dev] resgen - no default namespace used

2004-06-02 Thread Sascha Andres
Hi, I'm currently facing an odd behaviour of nant. I have a non-Form resource file given as a resource. The default namespace is cut, so in the nant compiled version I just need to use MyResourceFile, while in the ide I need to use MyNamepace.MyResourceFile to get the resourcefilemaneger running.

Re: [nant-dev] Licensing

2003-10-09 Thread Sascha Andres
Hi, * Am 09.10.2003 (18:18) schrieb Gert Driesen: > > There sould be no reason we can't get the licencing change in for the > > next release - assuming we can deal with any copyright holder issues. > > So now we need to make the official dicision as to which licence. I'm > > leaning towards BSD - w

[nant-dev] Error while testing

2003-10-04 Thread Sascha Andres
Hi, while building on a friends PC, we got an error NAnt could not delete a directory. We looked, but it *was* deleted successfully. The user has admin rights. The directory is located under the temp dir. I've attached the log. -sa -- sa at programmers-world dot com http://www.livingit.de Book

Re: [nant-dev] New task: cat

2003-09-18 Thread Sascha Andres
Hi, * Ian MacLean wrote on 18.09.2003 (13:27): > I agree. Filter should probably be a seperate task. It might be worth > looking at Ants filterset concept. > > http://ant.apache.org/manual/CoreTypes/filterset.html OK, a filter task that sets properties for files is interesting. What actually I t

Re: [nant-dev] New task: cat

2003-09-17 Thread Sascha Andres
Hi, * Sascha Andres wrote on 17.09.2003 (21:56): > Perhaps it's time to move it to NAnt.Core? I'll have a look, > and see what needs to be done to implement the filter I > mentioned earlier. After that, I'll post a patch for that > one. I had a look at the concat t

Re: [nant-dev] New task: cat

2003-09-17 Thread Sascha Andres
Hi, * Ian MacLean wrote on 18.09.2003 (01:11): > Good catch Nick. I can't believe I didn't know about that. I guess I > never use it but still. Perhaps it's time to move it to NAnt.Core? I'll have a look, and see what needs to be done to implement the filter I mentioned earlier. After that, I'll

Re: [nant-dev] New task: cat

2003-09-17 Thread Sascha Andres
Hi, * Gert Driesen wrote on 17.09.2003 (07:57): > wouldn't it be better to have something similar to the Ant concat task > (http://ant.apache.org/manual/CoreTasks/concat.html), which allows files to > be concatenated or the tasks inline text be appended (or overwritten) to the > destination file ?

[nant-dev] New task: cat

2003-09-16 Thread Sascha Andres
eived a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // Sascha Andres ([EMAIL PROTECTED]) using System; using System.Globalization; using System.Xml; using Sy

Re: [nant-dev] License task fix - patch included

2003-09-16 Thread Sascha Andres
General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // Matthew Mastracci ([EMAIL PROTECTED]) // Sascha Andres ([EMAIL PROTECTED]) using System; using System.Col

Re: [nant-dev] License task fix - patch included

2003-09-15 Thread Sascha Andres
Hi, * Ian MacLean wrote on 16.09.2003 (01:17): > It would be better if it did load a new appdomain. Otherwise every > assembly loaded will hang around until NAnt terminates. See the > assemblyinfo task ( AssemblyInfoTask.cs) for a simple example of the > spawning app-domain technique. I'll have

[nant-dev] License task fix - patch included

2003-09-15 Thread Sascha Andres
Hi, after a while looking where the error was, I reworked my changes, did a few comments and a diff file for patching. You may want to take a look at it - I did not created a new AppDomain, but it is functionally on my system now. If this is correct, it could be submitted to CVS. -sa -- sa at

Re: [nant-dev] license task broken

2003-09-14 Thread Sascha Andres
Hi, * Matthew Mastracci wrote on 14.09.2003 (12:45): > Yet another bug is that the License task loads assemblies (as far as I > can remember) into the main AppDomain. It needs to have code to load > these assemblies in a separate AppDomain, like the NUnit tasks have. You're right. It does that wa

Re: [nant-dev] license task broken

2003-09-14 Thread Sascha Andres
Hi, It seems I found two bugs. One is in the licese task itself. It can happen (actually it does on one of my systems), thatasmLoaded.Location is either an empty string or null. If so, Path.GetFullPath(...) throws an exception. The attached diff files addesses this issue. The second thing seems t

[nant-dev] license task broken

2003-09-14 Thread Sascha Andres
Hi, I'm using the following statement in my buildscript: This is similar to the help file. But: I _always_ gt an exception about an invalid path. Before I had an fileset included with the assemblies to be licensed, but this is just the same error. I think this is a newly introduced bug, since t

[nant-dev] Re: [Nant-users] 0.8.3 final

2003-09-07 Thread Sascha Andres
Hi, * Ian MacLean wrote on 07.09.2003 (16:04): > Jaroslaw Kowalski wrote: > >Maybe it's time to have version 1.0 released ? I believe NAnt is stable > >enough now to handle even large projects like mono both on windows and > >linux and having "production" version 1.0 would only make more people > >

[nant-dev] ngen Task

2003-07-08 Thread Sascha Andres
Hi, this is my first post to the NAnt developers list. When I first looked at NAnt I wanted to understand how does it work. So I made my own task - a ngen task. I have not much time to maintain an ever changing task, but I think there may be the one or other who could use this task too. So I deci