Title: XmlPeek and XML special chars
Hello,
I am trying to use XmlPeek to extrace certain copyright information from a xml document.
This does contain the "&" special symbol, so it must be encoded as "&".
Xmlpeek does not seem to decode it - I get the XML raw form (&) in the resulti
Thomas Tomiczek wrote:
Ok, now things get intersting.
Is there any way to execute a target from within a task?
you could if you write your own custom task. Tasks have complete access
to the Project object and its list of Targets.
Ian
I try to get rid of the "additional" .build files.
My idea i
Title: Dynamically execute a target when it exists
Ok, now things get intersting.
Is there any way to execute a target from within a task?
I try to get rid of the "additional" .build files.
My idea is:
* Every project has a central .build file, that includes the "main" build file
Ian MacLean wrote:
I'll add a note that the included file also needs to be valid xml.
Specifically, it needs to be a valid NAnt build file by itself, with the
element as the document root element. I think this is the
part that confuses people. One could certainly write an include file
that is
Ian MacLean wrote:
Thomas Tomiczek wrote:
Ok, now things get intersting.
Is there any way to execute a target from within a task?
you could if you write your own custom task. Tasks have complete
access to the Project object and its list of Targets.
That's unnecessary. Just use the task.
Gary
--
Title: Documentation error (not finding it): failure target.
Is there a special target I can set up in case a build error happens?
My issue:
In my central build task there is a possibility that some of the files do get checked out during build.
In case of an error happening, I must roll
Title: Documentation error (not finding it): failure target.
Thomas,
Try in the "Properties" area: http://nant.sourceforge.net/release/latest/help/fundamentals/properties.html
nant.onfailure is what you're looking
for.
Regards,
Richard
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
See:
http://nant.sourceforge.net/release/latest/help/fundamentals/properties.html
You can use the nant.onfailure & nant.onsuccess properties.
On 5/12/05, Thomas Tomiczek <[EMAIL PROTECTED]> wrote:
>
>
> Is there a special target I can set up in case a build error happens?
>
> My issue:
>
hi,
I want to unsubscribe from mailing list please do
needful.
Regards
Neelash Kukreti
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
Title: Bug report - nant solutions task blowing on "odd" file names
does not work if an item has a special char in it's path.
In our case we just blew on a ressource named "topic-pinned&locked.gif".
The entry in the csproj looked like this:
RelPath = "Resources\topic-pinned&lo
I'm getting a strange error while building my solution:
outputdir="${outdir}"> http://localhost/html_77/html.csproj" path="${slndir}\html\html.csproj" />
Produces the error:
[solution] Referenced assembly "C:\temp\nant\source\MusiKube\obj\Release\MusiKube.dll" could n
Title: Bug report - nant solutions task blowing on "odd" file names
Thomas,
This is by design. We always expect the project files to be
valid XML. This is also mentioned on the task doc page (http://nant.sourceforge.net/release/latest/help/tasks/solution.html).
Gert
From: [EMA
Hi, I'm looking into the possibility of remaking my nightly build
process (which is currently a bunch of messy perl scripts) with NAnt.
I've only dicovered NAnt recently so I don't know much about it yet.
So far it looks like it might be a good fit but I'm having trouble
finding documentation on
First, thanks to Ian MacLean for answering my
initial question about using Jscript with a task!
I was able to get everything working until I got
brave and tried to define a custom task in Jscript :)
Hi Eugene,
You should get more information on the cause of the error
in the next nightly build.
Let me know if that helped you troubleshoot the
issue.
Gert
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eugene
VentimigliaSent: donderdag 12 mei 2005 18:19To
http://nantcontrib.sourceforge.net/
I would ditch VSS if at all possible. Believe me, you will be making
your life much easier. But if you can't, se the URL above.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pierce
Sent: Thursday, May 12, 2005 9:36 A
NAntContrib (nantcontrib.sourceforge.net), an add-on to Nant, has includes
support for Visual SourceSafe.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Pierce
> Sent: Thursday, May 12, 2005 12:36 PM
> To: nant-users@lists.sourceforge.net
> Subjec
I can't say I really understand... this is a build I've done, and there are no nightly builds...
Here's the contents of my build file, if that'll help:
name="Build411SongProject" basedir="." default="build" xmlns="
http://nant.sf.net/schemas/nant-0.85.win32.net-1.0.xsd" >
\\mkdoms
Hi Eugene,
What I meant to say was: I've made a small fix in NAnt cvs
that should result in a more meaningful error message for the issue you ran
into.
I'll upload a new nightly build (http://nant.sourceforge.net/nightly/latest)
of NAnt later today that might help you to troubleshoot your
Excellent- I'll grab the nightly tomorrow
--w
On 5/12/05, Gert Driesen <[EMAIL PROTECTED]> wrote:
Hi Eugene,
What I meant to say was: I've made a small fix in NAnt cvs that should result in a more meaningful error message for the issue you ran into.
I'll upload a new nightly build (
http:/
Hmmm...I know I would have a very hard time talking our technical lead
into switching over to CVS (it's been tried before). Is that
affirmative then? No way to sync with VSS through NAnt?
Pierce
On 5/12/05, Melissa Kacher <[EMAIL PROTECTED]> wrote:
> http://nantcontrib.sourceforge.net/
>
> I w
Hi Norman,
I'm not sure what's going on here, but any class that's
defined in a script block is in fact compiled as a nested class and the
jscript.net compiler seems to do some weird stuff for nested classes. It seems
to expect a parameter referring to its parent class for all ctors
(meani
Hey, thanks everybody! Yeah, I didn't look closely enough at
nantcontrib the first time around. Thought it was the same as the
Nant stuff I had already looked at. I've since taken a closer look,
added nantcontrib functionality, and performed a successful "vssget"
from a nant build file. Very en
I love Open Source!!! I've grabbed the nightly, and now I get a much more detailed error... still doesn't make sense to me, though:
[solution] Referenced assembly "C:\temp\nant\source\MusiKube\obj\Release\MusiKube.dll" could not be loaded: Culture name 'neutral' is not supported.
[solution] Par
i was just doing some profiling of our build and i noticed that
certain tasks were getting executed twice. we use a mixture of call
tasks and depend attributes in our build file. it seems that if a
target is *call*ed its *depend*encies are executed -- even if they
have been previously executed on
Owen Rogers wrote:
i was just doing some profiling of our build and i noticed that
certain tasks were getting executed twice. we use a mixture of call
tasks and depend attributes in our build file. it seems that if a
target is *call*ed its *depend*encies are executed -- even if they
have been pre
Hi,
We store configuration files for each environment within the
project source code. Each file has an environment key in their file name, e.g. web.dev,config,
web,qa.config etc.
When I am building the project for a given environment (say
QA) I need to do the following using NAnt:
Pierce wrote:
Hmmm...I know I would have a very hard time talking our technical lead
into switching over to CVS (it's been tried before). Is that
affirmative then? No way to sync with VSS through NAnt?
ah - the link previously posted is exactly what you need to sync VSS
through NAnt. Install
The task does not execute if there is already
a file with name specified in out parameter. I am running the following script
and style task runs only for the first time. When I run the script again, style
task remains silent (no log / output).
Hi to the list!
This is my first post to Nant-users. I'm a NAnt newbie. It is entirely
possible that I am asking a foolish question ;-) I have searched the
archives but couldn't find anything relevant to my particular problem.
I am trying to write an auto-build script for our project. We have a
v
Gary Feldman wrote:
Ian MacLean wrote:
Thomas Tomiczek wrote:
Ok, now things get intersting.
Is there any way to execute a target from within a task?
you could if you write your own custom task. Tasks have complete
access to the Project object and its list of Targets.
That's unnecessary. Just u
Gary Feldman wrote:
Owen Rogers wrote:
i was just doing some profiling of our build and i noticed that
certain tasks were getting executed twice. we use a mixture of call
tasks and depend attributes in our build file. it seems that if a
target is *call*ed its *depend*encies are executed -- even
Sandeep,
You can use the task to rename files, as in original.name" tofile="new.name" />
http://nant.sourceforge.net/release/latest/help/tasks/move.html
Unfortunately to use this renaming behaviour you can only specify a
single file, not a fileset (see the documentation for details).
You can st
On 5/13/05, Ian MacLean <[EMAIL PROTECTED]> wrote:
Gary Feldman wrote:> Check out the cascade attribute of the task,> http://nant.sourceforge.net/nightly/latest/help/tasks/call.html
.>Thats exactly right - maybe another doc fix is required. cascade="true"means execute dependencies and is the defa
Hi Troy,
I've clarified the task docs a bit (in cvs). I
hope this will clear things up for you.
---
To avoid dependent targets from being executed more
than once, two options are available:
Add an "unless" attribute with value "${target::has-executed('')}" to the dependent
35 matches
Mail list logo