[NAnt-users] Calling a dependency twice?

2011-06-21 Thread Chris Fouts
Nant version 0.91, Build 0.91.3081.0

For some reason, I'm not able to call a depends target twice. Here's what I 
mean. Say I have

target name=all
 Depends=TARGET1, target2, TARGET1, target3
 --! Do something --
/target

Nant executes TARGET1 before target2, and I expect it to execute TARGET1 
between target2 and target3, but it does NOT! Is this a feature or a bug?

-chris



***This e-mail message is intended only for the above named recipient(s)
and may contain information that is sensitive or proprietary. If you have
received this message in error or are not the named recipient(s), please 
immediately notify the sender, delete this e-mail message without making
a copy and do not disclose or relay this e-mail message to anyone.***
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] Calling a dependency twice?

2011-06-21 Thread Wilson, Brian
Per documentation: 
(http://nant.sourceforge.net/release/latest/help/fundamentals/targets.html)
A target gets executed only once, even when more than one target depends on it


Brian Wilson
Department of Human Resources
Email: brian.wil...@dhr.alabama.govmailto:brian.wil...@dhr.alabama.gov


From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Tuesday, June 21, 2011 9:58 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Calling a dependency twice?

Nant version 0.91, Build 0.91.3081.0

For some reason, I'm not able to call a depends target twice. Here's what I 
mean. Say I have

target name=all
 Depends=TARGET1, target2, TARGET1, target3
 --! Do something --
/target

Nant executes TARGET1 before target2, and I expect it to execute TARGET1 
between target2 and target3, but it does NOT! Is this a feature or a bug?

-chris



***This e-mail message is intended only for the above named recipient(s)
and may contain information that is sensitive or proprietary. If you have
received this message in error or are not the named recipient(s), please
immediately notify the sender, delete this e-mail message without making
a copy and do not disclose or relay this e-mail message to anyone.***
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] Connecting to TFS using Nant

2011-06-21 Thread Macdiarmid, James D.
Anyone have any suggestions for trapping when there is no network
connection to TFS in a custom Nant task?   


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] Calling a dependency twice?

2011-06-21 Thread Chris Fouts
Thanks.

From: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov]
Sent: Tuesday, June 21, 2011 11:04 AM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Calling a dependency twice?

Per documentation: 
(http://nant.sourceforge.net/release/latest/help/fundamentals/targets.html)
A target gets executed only once, even when more than one target depends on it


Brian Wilson
Department of Human Resources
Email: brian.wil...@dhr.alabama.govmailto:brian.wil...@dhr.alabama.gov


From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Tuesday, June 21, 2011 9:58 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Calling a dependency twice?

Nant version 0.91, Build 0.91.3081.0

For some reason, I'm not able to call a depends target twice. Here's what I 
mean. Say I have

target name=all
 Depends=TARGET1, target2, TARGET1, target3
 --! Do something --
/target

Nant executes TARGET1 before target2, and I expect it to execute TARGET1 
between target2 and target3, but it does NOT! Is this a feature or a bug?

-chris



***This e-mail message is intended only for the above named recipient(s)
and may contain information that is sensitive or proprietary. If you have
received this message in error or are not the named recipient(s), please
immediately notify the sender, delete this e-mail message without making
a copy and do not disclose or relay this e-mail message to anyone.***
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] NAnt-users Digest, Vol 59, Issue 3

2011-06-21 Thread John Schroeder
Auto-reply:

I'm on my scooter from 6/13-6/26 and will not be checking e-mail or phone. If
you are working on any of these projects with me, here are your contacts:
Common Use Certification - Dia Cooper
CommonUse VDI - Stephanie McGriff
Common Use Legacy - Terry Kraabel
BGR Scanner Project/ASDevices - Seth Kennedy


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] Calling a dependency twice?

2011-06-21 Thread Wilson, Brian
You're welcome.

You may just want to use the call task.

call target=Target1/
call target=Target2/
call target=Target1/
call target=Target3/





Brian Wilson
Department of Human Resources
Email: brian.wil...@dhr.alabama.govmailto:brian.wil...@dhr.alabama.gov


From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Tuesday, June 21, 2011 11:13 AM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Calling a dependency twice?

Thanks.

From: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov]
Sent: Tuesday, June 21, 2011 11:04 AM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Calling a dependency twice?

Per documentation: 
(http://nant.sourceforge.net/release/latest/help/fundamentals/targets.html)
A target gets executed only once, even when more than one target depends on it


Brian Wilson
Department of Human Resources
Email: brian.wil...@dhr.alabama.govmailto:brian.wil...@dhr.alabama.gov


From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Tuesday, June 21, 2011 9:58 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Calling a dependency twice?

Nant version 0.91, Build 0.91.3081.0

For some reason, I'm not able to call a depends target twice. Here's what I 
mean. Say I have

target name=all
 Depends=TARGET1, target2, TARGET1, target3
 --! Do something --
/target

Nant executes TARGET1 before target2, and I expect it to execute TARGET1 
between target2 and target3, but it does NOT! Is this a feature or a bug?

-chris



***This e-mail message is intended only for the above named recipient(s)
and may contain information that is sensitive or proprietary. If you have
received this message in error or are not the named recipient(s), please
immediately notify the sender, delete this e-mail message without making
a copy and do not disclose or relay this e-mail message to anyone.***
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] Connecting to TFS using Nant

2011-06-21 Thread Wilson, Brian
If you have access to the TFS server, you can use the directory::exists 
(http://nant.sourceforge.net/release/latest/help/functions/directory.exists(System.String).html)
 to see if a directory on the server exists.

if test=${directory::exists('\\TFS_SERVER_NAME\SHARED_DIR_NAME')}
{DO WHAT YOU WANT}
/if


Brian Wilson
Department of Human Resources
Email: brian.wil...@dhr.alabama.govmailto:brian.wil...@dhr.alabama.gov


From: Macdiarmid, James D. [mailto:james.d.macdiar...@saic.com]
Sent: Tuesday, June 21, 2011 11:09 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Connecting to TFS using Nant


Anyone have any suggestions for trapping when there is no network connection to 
TFS in a custom Nant task?
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] Calling a dependency twice?

2011-06-21 Thread Chris Fouts
I created a foreach loop to call all my targets, and this worked too.

-chris

From: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov]
Sent: Tuesday, June 21, 2011 12:47 PM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Calling a dependency twice?

You're welcome.

You may just want to use the call task.

call target=Target1/
call target=Target2/
call target=Target1/
call target=Target3/





Brian Wilson
Department of Human Resources
Email: brian.wil...@dhr.alabama.govmailto:brian.wil...@dhr.alabama.gov


From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Tuesday, June 21, 2011 11:13 AM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Calling a dependency twice?

Thanks.

From: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov]
Sent: Tuesday, June 21, 2011 11:04 AM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Calling a dependency twice?

Per documentation: 
(http://nant.sourceforge.net/release/latest/help/fundamentals/targets.html)
A target gets executed only once, even when more than one target depends on it


Brian Wilson
Department of Human Resources
Email: brian.wil...@dhr.alabama.govmailto:brian.wil...@dhr.alabama.gov


From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Tuesday, June 21, 2011 9:58 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Calling a dependency twice?

Nant version 0.91, Build 0.91.3081.0

For some reason, I'm not able to call a depends target twice. Here's what I 
mean. Say I have

target name=all
 Depends=TARGET1, target2, TARGET1, target3
 --! Do something --
/target

Nant executes TARGET1 before target2, and I expect it to execute TARGET1 
between target2 and target3, but it does NOT! Is this a feature or a bug?

-chris



***This e-mail message is intended only for the above named recipient(s)
and may contain information that is sensitive or proprietary. If you have
received this message in error or are not the named recipient(s), please
immediately notify the sender, delete this e-mail message without making
a copy and do not disclose or relay this e-mail message to anyone.***
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] Calling a dependency twice?

2011-06-21 Thread Wilson, Brian
As they say, more than one way to skin a cat. ;)


Brian Wilson
Department of Human Resources
Email: brian.wil...@dhr.alabama.govmailto:brian.wil...@dhr.alabama.gov


From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Tuesday, June 21, 2011 2:27 PM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Calling a dependency twice?

I created a foreach loop to call all my targets, and this worked too.

-chris

From: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov]
Sent: Tuesday, June 21, 2011 12:47 PM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Calling a dependency twice?

You're welcome.

You may just want to use the call task.

call target=Target1/
call target=Target2/
call target=Target1/
call target=Target3/





Brian Wilson
Department of Human Resources
Email: brian.wil...@dhr.alabama.govmailto:brian.wil...@dhr.alabama.gov


From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Tuesday, June 21, 2011 11:13 AM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Calling a dependency twice?

Thanks.

From: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov]
Sent: Tuesday, June 21, 2011 11:04 AM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Calling a dependency twice?

Per documentation: 
(http://nant.sourceforge.net/release/latest/help/fundamentals/targets.html)
A target gets executed only once, even when more than one target depends on it


Brian Wilson
Department of Human Resources
Email: brian.wil...@dhr.alabama.govmailto:brian.wil...@dhr.alabama.gov


From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Tuesday, June 21, 2011 9:58 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Calling a dependency twice?

Nant version 0.91, Build 0.91.3081.0

For some reason, I'm not able to call a depends target twice. Here's what I 
mean. Say I have

target name=all
 Depends=TARGET1, target2, TARGET1, target3
 --! Do something --
/target

Nant executes TARGET1 before target2, and I expect it to execute TARGET1 
between target2 and target3, but it does NOT! Is this a feature or a bug?

-chris



***This e-mail message is intended only for the above named recipient(s)
and may contain information that is sensitive or proprietary. If you have
received this message in error or are not the named recipient(s), please
immediately notify the sender, delete this e-mail message without making
a copy and do not disclose or relay this e-mail message to anyone.***
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] Help with buildfile compiling a C#-library containing references to libraries in a sub-directory

2011-06-21 Thread Dominik Guder
Hi Aleksander,

this is basically off topic since Assembly resolving is generally part 
of .Net itself and not specific to nant.

Nevertheless, you could do following: add a probing entry to your 
app.config eg. probing privatePath=lib\ShouldFluent;lib\AnotherLib /

or try following in your code (untested):
AppDomain.CurrentDomain.SetupInformation.PrivateBinPath = 
@lib\ShouldFluent;lib\AnotherLib;

IMHO both folders must reside below AppPath.

To get an insight what is happening you might take a look at 
fuslogvw.exe which is a log viewer for fusion (.net assembly resolver)
fuslogvw.exe should be somewhere in your sdk\bin folder

hth
Dominik

Am 21.06.2011 07:29, schrieb Heintz, Aleksander:
 That works, but I would like to be able to maintain some hierarchy of
 the files. Isn't that possible?

 On Tue, Jun 21, 2011 at 1:28 AM, Christopher Brandt
 xtopher.bra...@gmail.com mailto:xtopher.bra...@gmail.com wrote:

 Have you tried moving all of the dependencies (ie,
 Should.Fluent.dll ) into the same directory as the executable?
 ---
 Chris.

 Continuous improvement is better than delayed perfection. - Mark Twain


 On Mon, Jun 20, 2011 at 12:13 PM, Heintz, Aleksander
 alxa...@alxandr.me mailto:alxa...@alxandr.me wrote:

 I'm having trouble by trying to write a buildfile that can
 compile and test my application. The compilation works great,
 however, I get a runtime-error during the testing saying that
 .NET is unable to load the assembly I included. Now, my
 folder-structure looks something like this:

  /project.build
  /lib
  /ShouldFluent
  /Should.Fluent.dll
  /src
  /sources...



-- 
The answer to the great question of life,
the universe and everything is 42 (Douglas Adams)

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users