[NAnt-users] Is there a template/example for this setup?

2011-05-13 Thread Chris Fouts
This is a common architecture so I'm hoping someone's done this before.

Say I have a Windows project with 2 components, each component in its on 
directory, like so:

ProjectA
   Component1
  File1.h
  File1.cpp
  File1.sln
   Component2
  File2.h
  File2.cpp
  File2.sln

I only want to build a component if a file changed in its corresponding folder. 
This entails that I have to:

-  Check for changes in the component directory with our SCM tool 
(sadly, Starteam in our case)

-  If changes exist, check out the changes

-  Build the solution file

Then if and only if ALL components build, I do

-  Check in files

-  Label files

-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.***
--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] Is there a template/example for this setup?

2011-05-13 Thread Bob Archer
CI Factory's scripts do this. IIRC he creates a text file with any changed 
files to determine if the project needs to be built. While I don't use CI 
Factory anymore I got several ideas from it and learned quite a few nant 
tricks. Even if you don't use it, setting it up and looking at the scripts is 
quite eye opening.

http://cifactory.org/joomla/

BOb


From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Friday, May 13, 2011 9:15 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Is there a template/example for this setup?

This is a common architecture so I'm hoping someone's done this before.

Say I have a Windows project with 2 components, each component in its on 
directory, like so:

ProjectA
   Component1
  File1.h
  File1.cpp
  File1.sln
   Component2
  File2.h
  File2.cpp
  File2.sln

I only want to build a component if a file changed in its corresponding folder. 
This entails that I have to:

-  Check for changes in the component directory with our SCM tool 
(sadly, Starteam in our case)

-  If changes exist, check out the changes

-  Build the solution file

Then if and only if ALL components build, I do

-  Check in files

-  Label files

-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.***
--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] Is there a template/example for this setup?

2011-05-13 Thread Chris Fouts
Thanks, but I don't have time to delve into yet another tool now, though I did 
d/l the app and perused through it a little.

One thing that will help is if I can setup a nant target that checks for 
modifications on a certain folder, similar to the filtered sourcecontrol 
element of ccnet.

-chris

From: Bob Archer [mailto:bob.arc...@amsi.com]
Sent: Friday, May 13, 2011 9:37 AM
To: Chris Fouts; nant-users@lists.sourceforge.net
Subject: RE: Is there a template/example for this setup?

CI Factory's scripts do this. IIRC he creates a text file with any changed 
files to determine if the project needs to be built. While I don't use CI 
Factory anymore I got several ideas from it and learned quite a few nant 
tricks. Even if you don't use it, setting it up and looking at the scripts is 
quite eye opening.

http://cifactory.org/joomla/

BOb


From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Friday, May 13, 2011 9:15 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Is there a template/example for this setup?

This is a common architecture so I'm hoping someone's done this before.

Say I have a Windows project with 2 components, each component in its on 
directory, like so:

ProjectA
   Component1
  File1.h
  File1.cpp
  File1.sln
   Component2
  File2.h
  File2.cpp
  File2.sln

I only want to build a component if a file changed in its corresponding folder. 
This entails that I have to:

-  Check for changes in the component directory with our SCM tool 
(sadly, Starteam in our case)

-  If changes exist, check out the changes

-  Build the solution file

Then if and only if ALL components build, I do

-  Check in files

-  Label files

-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.***
--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] Is there a template/example for this setup?

2011-05-13 Thread Chris Fouts
I'm playing around with creating a file history that will show file status like 
Out of date or Missing (Starteam-speak). I store this in a file called say 
c:\fileHist.txt. Now I want to peruse that file for those words. Is there a way 
in nant to do a regex inside file contents? I looked at the regex element and 
it did not seem to support this.

-chris

From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Friday, May 13, 2011 12:41 PM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Is there a template/example for this setup?

Thanks, but I don't have time to delve into yet another tool now, though I did 
d/l the app and perused through it a little.

One thing that will help is if I can setup a nant target that checks for 
modifications on a certain folder, similar to the filtered sourcecontrol 
element of ccnet.

-chris

From: Bob Archer [mailto:bob.arc...@amsi.com]
Sent: Friday, May 13, 2011 9:37 AM
To: Chris Fouts; nant-users@lists.sourceforge.net
Subject: RE: Is there a template/example for this setup?

CI Factory's scripts do this. IIRC he creates a text file with any changed 
files to determine if the project needs to be built. While I don't use CI 
Factory anymore I got several ideas from it and learned quite a few nant 
tricks. Even if you don't use it, setting it up and looking at the scripts is 
quite eye opening.

http://cifactory.org/joomla/

BOb


From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Friday, May 13, 2011 9:15 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Is there a template/example for this setup?

This is a common architecture so I'm hoping someone's done this before.

Say I have a Windows project with 2 components, each component in its on 
directory, like so:

ProjectA
   Component1
  File1.h
  File1.cpp
  File1.sln
   Component2
  File2.h
  File2.cpp
  File2.sln

I only want to build a component if a file changed in its corresponding folder. 
This entails that I have to:

-  Check for changes in the component directory with our SCM tool 
(sadly, Starteam in our case)

-  If changes exist, check out the changes

-  Build the solution file

Then if and only if ALL components build, I do

-  Check in files

-  Label files

-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.***
--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] Is there a template/example for this setup?

2011-05-13 Thread Bob Archer
Its really as simple as comparing the current binary to the sourcecode using 
uptodate and only building a project if needed?

I do that in my own builds. We have a tool that builds a database packager. I 
only build a new packager exe if any of the SQL schema source files have newer 
dates than the current packager exe.

As a matter of fact, most compiler has a built in mode that will do this, don't 
they?

BOb

From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Friday, May 13, 2011 12:41 PM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Is there a template/example for this setup?

Thanks, but I don't have time to delve into yet another tool now, though I did 
d/l the app and perused through it a little.

One thing that will help is if I can setup a nant target that checks for 
modifications on a certain folder, similar to the filtered sourcecontrol 
element of ccnet.

-chris

From: Bob Archer [mailto:bob.arc...@amsi.com]
Sent: Friday, May 13, 2011 9:37 AM
To: Chris Fouts; nant-users@lists.sourceforge.net
Subject: RE: Is there a template/example for this setup?

CI Factory's scripts do this. IIRC he creates a text file with any changed 
files to determine if the project needs to be built. While I don't use CI 
Factory anymore I got several ideas from it and learned quite a few nant 
tricks. Even if you don't use it, setting it up and looking at the scripts is 
quite eye opening.

http://cifactory.org/joomla/

BOb


From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Friday, May 13, 2011 9:15 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Is there a template/example for this setup?

This is a common architecture so I'm hoping someone's done this before.

Say I have a Windows project with 2 components, each component in its on 
directory, like so:

ProjectA
   Component1
  File1.h
  File1.cpp
  File1.sln
   Component2
  File2.h
  File2.cpp
  File2.sln

I only want to build a component if a file changed in its corresponding folder. 
This entails that I have to:

-  Check for changes in the component directory with our SCM tool 
(sadly, Starteam in our case)

-  If changes exist, check out the changes

-  Build the solution file

Then if and only if ALL components build, I do

-  Check in files

-  Label files

-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.***
--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] Is there a template/example for this setup?

2011-05-13 Thread Chris Fouts
Ah, I didn't know about uptodate, thanks!!!

-chris

From: Bob Archer [mailto:bob.arc...@amsi.com]
Sent: Friday, May 13, 2011 2:38 PM
To: Chris Fouts; nant-users@lists.sourceforge.net
Subject: RE: Is there a template/example for this setup?

Its really as simple as comparing the current binary to the sourcecode using 
uptodate and only building a project if needed?

I do that in my own builds. We have a tool that builds a database packager. I 
only build a new packager exe if any of the SQL schema source files have newer 
dates than the current packager exe.

As a matter of fact, most compiler has a built in mode that will do this, don't 
they?

BOb

From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Friday, May 13, 2011 12:41 PM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Is there a template/example for this setup?

Thanks, but I don't have time to delve into yet another tool now, though I did 
d/l the app and perused through it a little.

One thing that will help is if I can setup a nant target that checks for 
modifications on a certain folder, similar to the filtered sourcecontrol 
element of ccnet.

-chris

From: Bob Archer [mailto:bob.arc...@amsi.com]
Sent: Friday, May 13, 2011 9:37 AM
To: Chris Fouts; nant-users@lists.sourceforge.net
Subject: RE: Is there a template/example for this setup?

CI Factory's scripts do this. IIRC he creates a text file with any changed 
files to determine if the project needs to be built. While I don't use CI 
Factory anymore I got several ideas from it and learned quite a few nant 
tricks. Even if you don't use it, setting it up and looking at the scripts is 
quite eye opening.

http://cifactory.org/joomla/

BOb


From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Friday, May 13, 2011 9:15 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Is there a template/example for this setup?

This is a common architecture so I'm hoping someone's done this before.

Say I have a Windows project with 2 components, each component in its on 
directory, like so:

ProjectA
   Component1
  File1.h
  File1.cpp
  File1.sln
   Component2
  File2.h
  File2.cpp
  File2.sln

I only want to build a component if a file changed in its corresponding folder. 
This entails that I have to:

-  Check for changes in the component directory with our SCM tool 
(sadly, Starteam in our case)

-  If changes exist, check out the changes

-  Build the solution file

Then if and only if ALL components build, I do

-  Check in files

-  Label files

-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.***
--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users