You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Lars Monsees <l....@atlantisgmbh.de> on 2006/10/24 13:03:37 UTC
FW: failure notice
Hi,
is it not possible to post mail with attaced zip-files to this list?
> <de...@ant.apache.org>:
> 140.211.11.133 failed after I sent the message.
> Remote host said: 552 Message rejected as it is spam (body)
attachment is now temporarily avaiable at:
http://www.atlantisgmbh.de/download/HelpStudioAnt-0.1.0.zip
Original mail follows:
Hello,
I´ve written a task that allows a HelpStudio project to be compiled
using Ant. As this is my first ant project could anyone be so kind to
have a look at it with attention to code quality and formal
requirements?
HelpStudio Ant Task
tested with Ant 1.6.5
license: GPL
I´ve attached the distribution as a zipfile (project is registered at
sourceforge - just needs acknowledgement).
Some questions:
1)
I used nsisant.sf.net as a model. If necessary, in which form should I
state this in the source file or in the documentation?
2)
Can anybody tell me down to which ant version my task is compatible?
How could I easily find out?
3)
One remaining problem is that command line arguments are automatically
escaped via " if they contain spaces. Now it is possible that a to be
compiled booklet has a space in it so the appropriate command line
would look like this:
helpstudio2.exe /bk="just a test" projectfile.hsp
Unfortunately, when I pass the option as /bk=just a test it gets
converted to "/bk=just a test" or /bk="just a test" gets converted to
'/bk="just a test"' and HelpStudio doesn´t recognize these.
Is there a workaround for this?
Shouldn´t the ant class offer a method that doesn´t automatically add
spaces?
Should HelpStudio be able to recognize the escaped variants?
4)
Patching
http://svn.apache.org/repos/asf/ant/core/trunk/xdocs/external.xml for
the "External Tools and Tasks" page: I´m using Eclipse 3.1 on Windows.
I know that I can create a patch to a file that is under
versioncontrol. Is there an easy way to create a patch besides
configuring the svn repository in Eclipse?
5)
Most of the variables are declared as protected because this is what
I´ve seen in nsisant. Is this preferred over private variables?
6)
btw: Though using the GPL or any other opensource license, why do
people state a copyright in the source files? Shouldn´t this mean that
only this person is allowed to copy the code? (I now just adopted
this)
Thanks in advance
Lars
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org