Greg Roll | 1 Feb 01:10

Re: Build for multiple interdependant CVS modules cannot be configured through default gui

Yes, thats the obvious solution, but that requires re-organizing the entire cvs repository, and the loss of all the history.  Althought that would be the preferred approach, we cannot afford to loose history.  And to my knowledge, cvs does not let you checkout sub modules (eg.   projecta/src) which is what we would desire then so that developers do not need to waste time checking out things they are not working on.

Robert E Dobbins wrote:

You could always define a module that comprises all of your other modules!

Thanks,

Robert E. Dobbins
IBM Global Services
Systems Management Integration Professional
Web Hosting
redobbin-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org



Greg Roll <groll-SejL7p8XEQPPAjbQX11d1f6YP24DPgJO@public.gmane.org>



To

anthill-IWHQxnLZ/P3rXihlmxnZCEEOCMrvLtNR@public.gmane.org

cc


Subject

[Anthill] Build for multiple interdependant CVS modules cannot be configured through default gui

Is there anyway to setup anthill pro to work with multiple cvs module base

modules?.  Our project is very large so the cvs repository is structured
with items in different modules.. IE: (bin, src, test, web, app, mobile,
docs .. etc)... Unfortunately it seems as though Anthill Pro can only be
configured to checkout one module and then fire off the build.

As a workaround I have it checking out the module with the master
build.xml file (bin) and have my own sub targets to do cvs checkout and
updates on the other required modules before launching the build.

This works fine, but the downside being Anthill Pro is then unaware of
src changes in the other modules and only fires builds when something in
'bin' changes.  Any alternatives to get this working?.. is this maybe a
feature request that could be included in a future release?

Thanks,
Greg R.


[attachment "groll.vcf" deleted by Robert E Dobbins/Alpharetta/IBM] _______________________________________________
Anthill mailing list
Anthill-IWHQxnLZ/P3rXihlmxnZCEEOCMrvLtNR@public.gmane.org
http://lists.urbancode.com/mailman/listinfo/anthill

_______________________________________________ Anthill mailing list Anthill-IWHQxnLZ/P3rXihlmxnZCEEOCMrvLtNR@public.gmane.org http://lists.urbancode.com/mailman/listinfo/anthill
Attachment (groll.vcf): text/x-vcard, 372 bytes
_______________________________________________
Anthill mailing list
Anthill@...
http://lists.urbancode.com/mailman/listinfo/anthill
Eric Minick | 1 Feb 03:03

Re: Build for multiple interdependant CVS modules cannot be configured through default gui

Hey Greg,

I think a cvs ampersand  module could get you around the difficulty of 
having to reorganize the cvs repository. Take a look at this: 
http://durak.org/cvswebsites/doc/cvs_158.php .

Cheers,

Eric

Greg Roll wrote:

> Yes, thats the obvious solution, but that requires re-organizing the 
> entire cvs repository, and the loss of all the history.  Althought 
> that would be the preferred approach, we cannot afford to loose 
> history.  And to my knowledge, cvs does not let you checkout sub 
> modules (eg.   projecta/src) which is what we would desire then so 
> that developers do not need to waste time checking out things they are 
> not working on.
>
> Robert E Dobbins wrote:
>
>> You could always define a module that comprises all of your other 
>> modules!
>>
>> Thanks,
>>
>> Robert E. Dobbins
>> IBM Global Services
>> Systems Management Integration Professional
>> Web Hosting
>> redobbin@...
>>
>>
>>
>> Inactive hide details for Greg Roll 
>> <groll@...>Greg Roll <groll@...>
>>
>>
>>                         *Greg Roll <groll@...>*
>>                         Sent by: anthill-bounces@...
>>
>>                         01/31/2005 06:29 PM
>>                         Please respond to
>>                         Anthill user list
>>
>> 	
>>
>> To
>> 	
>> anthill@...
>>
>> cc
>> 	
>>
>> Subject
>> 	
>> [Anthill] Build for multiple interdependant CVS modules cannot be 
>> configured through default gui
>>
>> 	
>>
>>
>> Is there anyway to setup anthill pro to work with multiple cvs module 
>> base
>>
>> modules?.  Our project is very large so the cvs repository is structured
>> with items in different modules.. IE: (bin, src, test, web, app, mobile,
>> docs .. etc)... Unfortunately it seems as though Anthill Pro can only be
>> configured to checkout one module and then fire off the build.
>>
>> As a workaround I have it checking out the module with the master
>> build.xml file (bin) and have my own sub targets to do cvs checkout and
>> updates on the other required modules before launching the build.
>>
>> This works fine, but the downside being Anthill Pro is then unaware of
>> src changes in the other modules and only fires builds when something in
>> 'bin' changes.  Any alternatives to get this working?.. is this maybe a
>> feature request that could be included in a future release?
>>
>> Thanks,
>> Greg R.
>>
>>
>> [attachment "groll.vcf" deleted by Robert E Dobbins/Alpharetta/IBM] 
>> _______________________________________________
>> Anthill mailing list
>> Anthill@...
>> http://lists.urbancode.com/mailman/listinfo/anthill
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>Anthill mailing list
>>Anthill@...
>>http://lists.urbancode.com/mailman/listinfo/anthill
>>  
>>
>_______________________________________________
>Anthill mailing list
>Anthill@...
>http://lists.urbancode.com/mailman/listinfo/anthill
>  
>
Greg Roll | 1 Feb 04:58

Re: Build for multiple interdependant CVS modules cannot be configured through default gui

Thanks Eric, that was exactly what I was looking for.  I tried it on my 
home machine and found that it works great.   FYI, I found another 
reference that was a little more detailed here: 
http://www.thathost.com/wincvs-howto/cvsdoc/cvs_18.html

Cheers!

Eric Minick wrote:

> Hey Greg,
>
> I think a cvs ampersand  module could get you around the difficulty of 
> having to reorganize the cvs repository. Take a look at this: 
> http://durak.org/cvswebsites/doc/cvs_158.php .
>
> Cheers,
>
> Eric
>
> Greg Roll wrote:
>
>> Yes, thats the obvious solution, but that requires re-organizing the 
>> entire cvs repository, and the loss of all the history.  Althought 
>> that would be the preferred approach, we cannot afford to loose 
>> history.  And to my knowledge, cvs does not let you checkout sub 
>> modules (eg.   projecta/src) which is what we would desire then so 
>> that developers do not need to waste time checking out things they 
>> are not working on.
>>
>> Robert E Dobbins wrote:
>>
>>> You could always define a module that comprises all of your other 
>>> modules!
>>>
>>> Thanks,
>>>
>>> Robert E. Dobbins
>>> IBM Global Services
>>> Systems Management Integration Professional
>>> Web Hosting
>>> redobbin@...
>>>
>>>
>>>
>>> Inactive hide details for Greg Roll 
>>> <groll@...>Greg Roll 
>>> <groll@...>
>>>
>>>
>>>                         *Greg Roll <groll@...>*
>>>                         Sent by: anthill-bounces@...
>>>
>>>                         01/31/2005 06:29 PM
>>>                         Please respond to
>>>                         Anthill user list
>>>
>>>     
>>>
>>> To
>>>     
>>> anthill@...
>>>
>>> cc
>>>     
>>>
>>> Subject
>>>     
>>> [Anthill] Build for multiple interdependant CVS modules cannot be 
>>> configured through default gui
>>>
>>>     
>>>
>>>
>>> Is there anyway to setup anthill pro to work with multiple cvs 
>>> module base
>>>
>>> modules?.  Our project is very large so the cvs repository is 
>>> structured
>>> with items in different modules.. IE: (bin, src, test, web, app, 
>>> mobile,
>>> docs .. etc)... Unfortunately it seems as though Anthill Pro can 
>>> only be
>>> configured to checkout one module and then fire off the build.
>>>
>>> As a workaround I have it checking out the module with the master
>>> build.xml file (bin) and have my own sub targets to do cvs checkout and
>>> updates on the other required modules before launching the build.
>>>
>>> This works fine, but the downside being Anthill Pro is then unaware of
>>> src changes in the other modules and only fires builds when 
>>> something in
>>> 'bin' changes.  Any alternatives to get this working?.. is this maybe a
>>> feature request that could be included in a future release?
>>>
>>> Thanks,
>>> Greg R.
>>>
>>>
>>> [attachment "groll.vcf" deleted by Robert E Dobbins/Alpharetta/IBM] 
>>> _______________________________________________
>>> Anthill mailing list
>>> Anthill@...
>>> http://lists.urbancode.com/mailman/listinfo/anthill
>>>
>>> ------------------------------------------------------------------------ 
>>>
>>>
>>> _______________________________________________
>>> Anthill mailing list
>>> Anthill@...
>>> http://lists.urbancode.com/mailman/listinfo/anthill
>>>  
>>>
>> _______________________________________________
>> Anthill mailing list
>> Anthill@...
>> http://lists.urbancode.com/mailman/listinfo/anthill
>>  
>>
>
> _______________________________________________
> Anthill mailing list
> Anthill@...
> http://lists.urbancode.com/mailman/listinfo/anthill
Qazi, Karim | 3 Feb 19:19
Favicon

Build error - ANT problem?

I have installed Anthill version 1.8.0.264 successfully.  Anthill is using Ant 1.6.2. I have setup a single project to build using Perforce as the VCS and it is also sending emails correctly when the build fails (as I have specified).

 

It seems to be checking out the project just fine and updating the version file fine (which is also in Perforce) when I perform a build.  It also is building successfully but the actual build target I am specifying for it to call is not running?  I am using the property “anthill.build.ant.params” supplying a value of “InsideLineEAR” (which is an actual target in my build).  This is what the Anthill FAQ said to use in order to specify a particular build target you want Anthill to call on the project it is building.

 

I keep getting this exception below, but then the following information prints out and the build is successful but nothing is actually built because the build target is never called????  What am I doing wrong?  Is this exception the root of my problem or am I not configuring my project correctly (below these exceptions is my project properties)?

 

 

java.lang.InstantiationException: org.apache.tools.ant.Main

        at java.lang.Class.newInstance0(Class.java:293)

        at java.lang.Class.newInstance(Class.java:261)

        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:195)

        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)

 

 

10:07:56:212 [Thread - AnthillBuildDaemon] INFO  com.urbancode.anthill.BuildManager  - Step 6) Tag project (if set to success):

10:07:56:212 [Thread - AnthillBuildDaemon] INFO  com.urbancode.anthill.BuildManager  - Step 7) Publish Project:

10:07:56:212 [Thread - AnthillBuildDaemon] DEBUG com.urbancode.anthill.ProjectProperties  - publishScriptPath =

10:07:56:212 [Thread - AnthillBuildDaemon] DEBUG com.urbancode.anthill.adapter.PerforceRepositoryAdapter  - Get Revisions Since command: cmd /x/c cd /

d C:\nightly_builds && p4 -c cruiseControl -p buick:8888 -u kqazi changes -s submitted //cruiseControl/... <at> "2005/02/03 10:03:22,now"

 

10:07:56:337 [Thread - AnthillBuildDaemon] DEBUG com.urbancode.anthill.adapter.PerforceRepositoryAdapter  - Change: 171126

10:07:56:337 [Thread - AnthillBuildDaemon] DEBUG com.urbancode.anthill.adapter.PerforceRepositoryAdapter  - Get Change Revision command: cmd /x/c cd /

d C:\nightly_builds && p4 -c cruiseControl -p buick:8888 -u kqazi describe 171126

 

10:07:56:431 [Thread - AnthillBuildDaemon] DEBUG com.urbancode.anthill.adapter.PerforceRepositoryAdapter  - User: kqazi

10:07:56:431 [Thread - AnthillBuildDaemon] DEBUG com.urbancode.anthill.adapter.PerforceRepositoryAdapter  - Date: 2005/02/03 10:04:20

10:07:56:431 [Thread - AnthillBuildDaemon] DEBUG com.urbancode.anthill.adapter.PerforceRepositoryAdapter  - Comment: Labeled by Anthill

10:07:56:431 [Thread - AnthillBuildDaemon] DEBUG com.urbancode.anthill.adapter.PerforceRepositoryAdapter  - File: //IT-Program/JavaProjects/shared/Glo

balBuild/InsideLineEAR.version

10:07:56:446 [Thread - AnthillBuildDaemon] DEBUG com.urbancode.anthill.adapter.PerforceRepositoryAdapter  - not adding revision to version file.

10:07:56:446 [Thread - AnthillBuildDaemon] DEBUG com.urbancode.anthill.ProjectProperties  - InsideLineEAR properties saved

10:07:56:446 [Thread - AnthillBuildDaemon] DEBUG com.urbancode.anthill.AnthillSchedule  - AnthillSchedule.add(): com.urbancode.anthill.AnthillProject <at>

1e6612c

10:07:56:446 [Thread - AnthillBuildDaemon] DEBUG com.urbancode.anthill.ProjectProperties  - Adding param: InsideLineEAR

10:07:56:446 [Thread - AnthillBuildDaemon] DEBUG com.urbancode.anthill.ProjectProperties  - Adding param: InsideLineEAR

 

Here are my properties for this project:

 

anthill.schedule = stoppedSchedule

anthill.lastBuildFailDate = 02/02/2005 17:37:25

anthill.lastBuildSucceeded = true

anthill.lastGoodBuildDate = 02/03/2005 10:07:53

anthill.registry.format.version = 1.1

anthill.version.file = shared/GlobalBuild/InsideLineEAR.version

anthill.version.adapter = com.urbancode.anthill.adapter.UrbanCodeVersionAdapter

anthill.publish.run_policy = success.only

anthill.publish.url =

anthill.publish.script =

anthill.publish.dir =

anthill.publish.ant.params.value = InsideLineEAR

anthill.build.script = shared/GlobalBuild/build.xml

anthill.build.tag = none

anthill.build.ant.params.value = InsideLineEAR

anthill.java.extra.options =

anthill.repository.adapter = com.urbancode.anthill.adapter.PerforceRepositoryAdapter

anthill.repository.perforce.P4CLIENT = cruiseControl

anthill.repository.perforce.P4PORT = buick:8888

anthill.repository.perforce.P4PASSWD =

anthill.repository.perforce.P4VIEW =

anthill.repository.perforce.P4USER = kqazi

anthill.mail.policy = failed.only

anthill.users.Karim Qazi = kqazi-dUNTyAHavJdBDgjK7y7TUQ@public.gmane.org

anthill.project.version = 1.0 32  

 

Karim Qazi

Sr. Java Developer

Edmunds.com

office 310.309.6330

cell   562.208.5335

kqazi-dUNTyAHavJdBDgjK7y7TUQ@public.gmane.org

 

_______________________________________________
Anthill mailing list
Anthill@...
http://lists.urbancode.com/mailman/listinfo/anthill
Kovelman, Yevgeni | 4 Feb 02:43
Picon

build issues

I installed anthill OS and system is up and running.  When I try to build, source is checked out of cvs but nothing gets built.  Build log says BUILD FAILED, Target ‘alpha-build.log’ does not exist in this project.  I am not sure what to make of it.

 

Thanks

_______________________________________________
Anthill mailing list
Anthill@...
http://lists.urbancode.com/mailman/listinfo/anthill
Andreas Schaefer | 4 Feb 17:08

Automatic Forced Builds

Hi Geeks

 

I have a project that builds of some artifacts that are out of my control and just copied into the project during the build. These artifacts are generated over night by another build system. This means that a build can have failed due the changes and Anthill will never try to run the build because nothing has changed in version control.

 

So I would like to run the build every morning if something has changed on the version control or not. Can I do something like that in Anthill OS? I found Maciej reponse to a question about “Automatic forced build?” dated back to 28th of January 2003 and so I guess it never made it into Anthill OS.

 

I would be happy if I could flag the project to be build it every time and then create two version of the same projects.

 

Thanx - Andy

_______________________________________________
Anthill mailing list
Anthill@...
http://lists.urbancode.com/mailman/listinfo/anthill
Greg Roll | 4 Feb 18:14

Re: build issues

Seems to point to incorrect configuration.

Does the 'alpha-build.log' target exist in your build file?..  if thats not a target you specified in anthill, maybe it is the default target in the build file or there may be a dependency that call it.  Search the bulid file for that target.

If the target is valid, must not be seeing the correct build file when you kickoff anthill.

Greg.


Kovelman, Yevgeni wrote:

I installed anthill OS and system is up and running.  When I try to build, source is checked out of cvs but nothing gets built.  Build log says BUILD FAILED, Target ‘alpha-build.log’ does not exist in this project.  I am not sure what to make of it.

 

Thanks

_______________________________________________ Anthill mailing list Anthill-IWHQxnLZ/P3rXihlmxnZCEEOCMrvLtNR@public.gmane.org http://lists.urbancode.com/mailman/listinfo/anthill
Attachment (groll.vcf): text/x-vcard, 372 bytes
_______________________________________________
Anthill mailing list
Anthill@...
http://lists.urbancode.com/mailman/listinfo/anthill
Qazi, Karim | 4 Feb 18:35
Favicon

RE: build issues

Actually I figured out the problem I had to put this at the beginning of my Weblogic classpath: ANT_HOME/lib (this is pointing to the anthome that anthill is using).  Once I did this everything worked.  Also I read the FAQ on the Anthill site.  I copied the actual version of ANT I wanted to use in side of the ANTHILL_HOME/lib directory.

 

This is where I figured it out from: http://forum.java.sun.com/thread.jspa?tstart=60&forumID=7&threadID=485924&trange=15

 

 

One other question however is how do I get the actual version that anthill is building into a property I can use within a “publish” task for instance so I can create folders based upon the current version?

 

Thanks.

 

From: anthill-bounces-IWHQxnLZ/P3rXihlmxnZCEEOCMrvLtNR@public.gmane.org [mailto:anthill-bounces-IWHQxnLZ/P3rXihlmxnZCEEOCMrvLtNR@public.gmane.org] On Behalf Of Greg Roll
Sent: Friday, February 04, 2005 9:15 AM
To: Anthill user list
Subject: Re: [Anthill] build issues

 

Seems to point to incorrect configuration.

Does the '
alpha-build.log' target exist in your build file?..  if thats not a target you specified in anthill, maybe it is the default target in the build file or there may be a dependency that call it.  Search the bulid file for that target.

If the target is valid, must not be seeing the correct build file when you kickoff anthill.

Greg.


Kovelman, Yevgeni wrote:

I installed anthill OS and system is up and running.  When I try to build, source is checked out of cvs but nothing gets built.  Build log says BUILD FAILED, Target ‘alpha-build.log’ does not exist in this project.  I am not sure what to make of it.

 

Thanks

 

 

_______________________________________________

Anthill mailing list

Anthill-IWHQxnLZ/P3rXihlmxnZCEEOCMrvLtNR@public.gmane.org

http://lists.urbancode.com/mailman/listinfo/anthill

 

_______________________________________________
Anthill mailing list
Anthill@...
http://lists.urbancode.com/mailman/listinfo/anthill
Eric Minick | 4 Feb 18:45

Re: build issues

Hi,

Anthill should already be providing that as the property "version".

-- Eric

Qazi, Karim wrote:

> Actually I figured out the problem I had to put this at the beginning 
> of my Weblogic classpath: ANT_HOME/lib (this is pointing to the 
> anthome that anthill is using). Once I did this everything worked. 
> Also I read the FAQ on the Anthill site. I copied the actual version 
> of ANT I wanted to use in side of the ANTHILL_HOME/lib directory.
>
> This is where I figured it out from: 
> http://forum.java.sun.com/thread.jspa?tstart=60&forumID=7&threadID=485924&trange=15 
> <http://forum.java.sun.com/thread.jspa?tstart=60&forumID=7&threadID=485924&trange=15>
>
> One other question however is how do I get the actual version that 
> anthill is building into a property I can use within a “publish” task 
> for instance so I can create folders based upon the current version?
>
> Thanks.
>
> ------------------------------------------------------------------------
>
> *From:* anthill-bounces@... 
> [mailto:anthill-bounces@...] *On Behalf Of
*Greg Roll
> *Sent:* Friday, February 04, 2005 9:15 AM
> *To:* Anthill user list
> *Subject:* Re: [Anthill] build issues
>
> Seems to point to incorrect configuration.
>
> Does the 'alpha-build.log' target exist in your build file?.. if thats 
> not a target you specified in anthill, maybe it is the default target 
> in the build file or there may be a dependency that call it. Search 
> the bulid file for that target.
>
> If the target is valid, must not be seeing the correct build file when 
> you kickoff anthill.
>
> Greg.
>
>
> Kovelman, Yevgeni wrote:
>
> I installed anthill OS and system is up and running. When I try to 
> build, source is checked out of cvs but nothing gets built. Build log 
> says BUILD FAILED, Target ‘alpha-build.log’ does not exist in this 
> project. I am not sure what to make of it.
>
> Thanks
>
> 
>
>
>
>------------------------------------------------------------------------
>
>
> 
>
>_______________________________________________
>
>Anthill mailing list
>
>Anthill@... <mailto:Anthill@...>
>
>http://lists.urbancode.com/mailman/listinfo/anthill
>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Anthill mailing list
>Anthill@...
>http://lists.urbancode.com/mailman/listinfo/anthill
>  
>
Qazi, Karim | 4 Feb 18:45
Favicon

RE: build issues

So I can actually use ${version} inside my build script and all will be
well?

-----Original Message-----
From: anthill-bounces@...
[mailto:anthill-bounces@...] On Behalf Of Eric Minick
Sent: Friday, February 04, 2005 9:46 AM
To: Anthill user list
Subject: Re: [Anthill] build issues

Hi,

Anthill should already be providing that as the property "version".

-- Eric

Qazi, Karim wrote:

> Actually I figured out the problem I had to put this at the beginning 
> of my Weblogic classpath: ANT_HOME/lib (this is pointing to the 
> anthome that anthill is using). Once I did this everything worked. 
> Also I read the FAQ on the Anthill site. I copied the actual version 
> of ANT I wanted to use in side of the ANTHILL_HOME/lib directory.
>
> This is where I figured it out from: 
>
http://forum.java.sun.com/thread.jspa?tstart=60&forumID=7&threadID=48592
4&trange=15 
>
<http://forum.java.sun.com/thread.jspa?tstart=60&forumID=7&threadID=4859
24&trange=15>
>
> One other question however is how do I get the actual version that 
> anthill is building into a property I can use within a "publish" task 
> for instance so I can create folders based upon the current version?
>
> Thanks.
>
>
------------------------------------------------------------------------
>
> *From:* anthill-bounces@... 
> [mailto:anthill-bounces@...] *On Behalf Of
*Greg Roll
> *Sent:* Friday, February 04, 2005 9:15 AM
> *To:* Anthill user list
> *Subject:* Re: [Anthill] build issues
>
> Seems to point to incorrect configuration.
>
> Does the 'alpha-build.log' target exist in your build file?.. if thats

> not a target you specified in anthill, maybe it is the default target 
> in the build file or there may be a dependency that call it. Search 
> the bulid file for that target.
>
> If the target is valid, must not be seeing the correct build file when

> you kickoff anthill.
>
> Greg.
>
>
> Kovelman, Yevgeni wrote:
>
> I installed anthill OS and system is up and running. When I try to 
> build, source is checked out of cvs but nothing gets built. Build log 
> says BUILD FAILED, Target 'alpha-build.log' does not exist in this 
> project. I am not sure what to make of it.
>
> Thanks
>
> 
>
>
>
>-----------------------------------------------------------------------
-
>
>
> 
>
>_______________________________________________
>
>Anthill mailing list
>
>Anthill@... <mailto:Anthill@...>
>
>http://lists.urbancode.com/mailman/listinfo/anthill
>
>  
>
>-----------------------------------------------------------------------
-
>
>_______________________________________________
>Anthill mailing list
>Anthill@...
>http://lists.urbancode.com/mailman/listinfo/anthill
>  
>

_______________________________________________
Anthill mailing list
Anthill@...
http://lists.urbancode.com/mailman/listinfo/anthill

Gmane