RE: [Draconet-users] Nant build files

2004-04-15 Thread Erv Walter








I dont understand the question
completely. However, the question seems related to a common question. Heres
what we do, and its what I suggest:




 Put your nant .build files in
 CVS/VSS right along with your source code.
 Make those .build files do
 everything with relative paths so that everything works no matter where
 the files get checked out to.
 Strongly concider putting the
 appropriate version of nant (the binaries) in CVS/VSS also with your source
 code and build files. Nant changes over time and your .build files will
 change with nant. If you have everything under source control, you can
 always go back in time and get a complete set of source, build scripts,
 and the version of nant that worked at that point in tim.




This approach works smoothly with draco
and does not require our build scripts and source code to even have a clue
where draco puts them when it does a checkout to a temporary folder.











From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Morrill, John
Sent: Wednesday, April 14, 2004
10:54 AM
To:
'[EMAIL PROTECTED]'
Subject: [Draconet-users] Nant
build files





Nant build files require source files to be specified.
When draco gets the latest version of the code in source safe, it stores it in
a temporary folder, then deletes it when the build is done. So, how can we
tell draco to use temporary files in the csc compile?



This is what Draco's help file says:



Relative paths are
recommended because they allow the module to be checked out to any location and
successfully built. This is exactly what Draco.NET does; it creates a temporary
directory, does a cvs checkout
module, (or a Visual SourceSafe Get) and then executes your
NAnt build script (causing the default target to be executed). The location of
the temporary directory will typically be something like
%SystemRoot%\Temp\tmp14DD.tmp.



I had considered creating a shadow folder in source safe,
but I wasn't sure if this is what Draco's makers had in mind. Any ideas?










RE: [Draconet-users] Nant build files

2004-04-15 Thread Yves Reynhout










You said it yourself: Use relative paths in your
nant build script. The path to the nant file in draco.exe.config should also be
relative.
(I hope by temporary files you mean the files draco has fetched into a temporary
directory).

The easiest way to test this, is to create your build file in the root of your
chosen source safe project and author your source-related tasks relatively to
this root (source files will likely be siblings or children in this case). Then
just copy this entire tree (on your local disk) to an arbitrary location and
see if the build still succeeds (using nant on the command line).

Regards,
Yves Reynhout.








From: Morrill, John
[mailto:[EMAIL PROTECTED] 
Sent: woensdag 14 april 2004 17:54
To: '[EMAIL PROTECTED]'
Subject: [Draconet-users] Nant
build files





Nant build files require source files to be specified.
When draco gets the latest version of the code in source safe, it stores it in
a temporary folder, then deletes it when the build is done. So, how can
we tell draco to use temporary files in the csc compile?



This is what Draco's help file says:



Relative paths are
recommended because they allow the module to be checked out to any location and
successfully built. This is exactly what Draco.NET does; it creates a temporary
directory, does a cvs checkout
module, (or a Visual SourceSafe Get) and then executes your
NAnt build script (causing the default target to be executed). The location of
the temporary directory will typically be something like
%SystemRoot%\Temp\tmp14DD.tmp.



I had considered creating a shadow folder in source safe,
but I wasn't sure if this is what Draco's makers had in mind. Any ideas?










RE: [Draconet-users] Nant build files

2004-04-14 Thread Erv Walter








I dont understand the question
completely. However, the question seems related to a common
question. Heres what we do, and its what I suggest:




 Put your nant .build files in
 CVS/VSS right along with your source code.
 Make those .build files do
 everything with relative paths so that everything works no matter where
 the files get checked out to.
 Strongly concider putting the
 appropriate version of nant (the binaries) in CVS/VSS also with your
 source code and build files. Nant changes over time and your .build
 files will change with nant. If you have everything under source
 control, you can always go back in time and get a complete set of source,
 build scripts, and the version of nant that worked at that point in tim.




This approach works smoothly with draco
and does not require our build scripts and source code to even have a clue
where draco puts them when it does a checkout to a temporary folder.











From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Morrill, John
Sent: Wednesday, April 14, 2004
10:54 AM
To:
'[EMAIL PROTECTED]'
Subject: [Draconet-users] Nant
build files





Nant build files require source files to be specified.
When draco gets the latest version of the code in source safe, it stores it in
a temporary folder, then deletes it when the build is done. So, how can
we tell draco to use temporary files in the csc compile?



This is what Draco's help file says:



Relative paths are
recommended because they allow the module to be checked out to any location and
successfully built. This is exactly what Draco.NET does; it creates a temporary
directory, does a cvs checkout
module, (or a Visual SourceSafe Get) and then executes your
NAnt build script (causing the default target to be executed). The location of
the temporary directory will typically be something like
%SystemRoot%\Temp\tmp14DD.tmp.



I had considered creating a shadow folder in source safe,
but I wasn't sure if this is what Draco's makers had in mind. Any ideas?