Re: Schedule not working?

Debajyoti Lahiri <d_lahiri78-/[email protected]> Tue, 1 Aug 2006 01:23:29 -0700 (PDT)
Newsgroups gmane.comp.java.anthill
Message-ID <[email protected]>
Problem is I am try to checkout and build a different project altogether. I have a mudule called ABC(suppose) in the CVS. I then logged in to CVS and checked out the files. which worked well.

now when i try to build the project through the web interface I get an error that states the home directory is 'null'.!! :(. 

Also i have an Ant target called compile-all which (manually) compiled the project before I started the AntHill exercise. I added a target called publish in the build.xml file which depends on compile-all. Is that the right approach.?

Eric Minick <[email protected]> wrote: I think the most notable part of that log is that is says "The system 
cannot find the path specified". My memory is that DOS error 1 is the 
same. I would try to set up and run a batchfile with the contents:

cd /d "C:\AntHill\work\VSS_EXAMPLE"
set "SSDIR=C:\Program Files\Microsoft Visual Studio\VSS"
"C:\Program Files\Microsoft Visual Studio\VSS\win32\ss" cp 
"$/VSS_EXAMPLE" -Y"Guest"
"C:\Program Files\Microsoft Visual Studio\VSS\win32\ss" history 
-Y"Guest" -R -I -Y -vd07/31/2006;05:30P~03/10/2003;04:42P

You might also want to check that the VSS_Example test directory does 
indeed exist there, and that the path to ss.exe is accurate.

Regards,
Eric

Debajyoti Lahiri wrote:

> Hi all,
>
> I finally got Anthill to checkout files from CVS.
>
> However I am still unable to make a successful build. The error I get is
>
> as follows:
>
>
> The ' characters around the executable and arguments are
> not part of the command.
>
> WorkingDir: none
>
> The system cannot find the path specified.
> 17:30:46:593 [Thread - AnthillBuildDaemon] ERROR 
> com.urbancode.anthill.BuildMana
> ger - ProfileAdapter checkout failed: 1
> com.urbancode.anthill.adapter.RepositoryException: ProfileAdapter 
> checkout faile
> d: 1
> at com.urbancode.anthill.adapter.ProfileRepositoryAdapter.executeCommand
> (ProfileRepositoryAdapter.java:442)
> at com.urbancode.anthill.adapter.ProfileRepositoryAdapter.getWorkingProj
> ectCopy(ProfileRepositoryAdapter.java:289)
> at com.urbancode.anthill.adapter.VSSRepositoryAdapter.getWorkingProjectC
> opy(VSSRepositoryAdapter.java:132)
> at com.urbancode.anthill.BuildManager.build(BuildManager.java:104)
> at com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.ja
> va:231)
> at com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.ja
> va:217)
> at com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.ja
> va:195)
> at com.urbancode.anthill.AnthillProject.run(AnthillProject.java:187)
> at com.urbancode.anthill.BuildDaemon.run(BuildDaemon.java:73)
> 17:30:46:593 [Thread - AnthillBuildDaemon] INFO 
> com.urbancode.anthill.adapter.V
> SSRepositoryAdapter - get revisions since command: cmd /x/c cd /d 
> "C:\AntHill\w
> ork\VSS_EXAMPLE" && set "SSDIR=C:\Program Files\Microsoft Visual 
> Studio\VSS" &&
> "C:\Program Files\Microsoft Visual Studio\VSS\win32\ss" cp 
> "$/VSS_EXAMPLE" -Y"Gu
> est" &&
> "C:\Program Files\Microsoft Visual Studio\VSS\win32\ss" history 
> -Y"Guest" -R -I
> -Y -vd07/31/2006;05:30P~03/10/2003;04:42P
>
> The system cannot find the path specified.
> 17:30:46:687 [Thread - AnthillBuildDaemon] ERROR 
> com.urbancode.anthill.BuildMana
> ger - Exception when getting revisions.
> com.urbancode.anthill.adapter.RepositoryException: Exception when 
> getting revisi
> ons.
> at com.urbancode.anthill.adapter.VSSRepositoryAdapter.getRevisionsSince(
> VSSRepositoryAdapter.java:211)
> at com.urbancode.anthill.BuildManager.loadRevisions(BuildManager.java:28
> 7)
> at com.urbancode.anthill.BuildManager.build(BuildManager.java:215)
> at com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.ja
> va:231)
> at com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.ja
> va:217)
> at com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.ja
> va:195)
> at com.urbancode.anthill.AnthillProject.run(AnthillProject.java:187)
> at com.urbancode.anthill.BuildDaemon.run(BuildDaemon.java:73)
>
>
> Any idea?
>
>
> Regards,
>
> Debajyoti
>
> */"P. Chewning Toulmin" 
/* wrote:
>
>     Hi Eric,
>     The odd thing about the scheduled build is sometimes it fire off
>     successfully, and sometimes it doesn't fire off at all (in all
>     cases, there
>     *have* been files changed since the last build, so lack of
>     revisions isn't the
>     problem). I'll try your suggestion and see if that help.
>     Thanks,
>     Chewning
>
>     Quoting Eric Minick :
>
>     > The fix was referring to was the subversion specific fix in
>     looking at
>     > revision files that are retrieved. That fix (as I look at the
>     stamping
>     > history) is present in 1.8.0.297 and greater. A later patch
>     would help
>     > if revision history was retrieved but spaces in user names where
>     the
>     > problem (307 and greater).
>     >
>     > But if the schedule is operating properly, but just not firing
>     off the
>     > projects associated with it, I'm just not sure what's going on.
>     My first
>     > guess would be that the schedule is managed largely by its name and
>     > perhaps if its name was changed it would fail to act properly
>     (I'd hope
>     > that wasn't the case but I'm taking guesses).
>     >
>     > Perhaps recreating the schedule would be helpful.
>     >
>     > -- Eric
>     >
>     > Ben Weatherall wrote:
>     >
>     > >Eric,
>     > >
>     > >I too am having problems (Anthill version 1.8.1.303 running on Java
>     > >1.5.0_07 with ant specified as lib/ant1.6.2) with the scheduler
>     counting
>     > >down to zero and then not launching a check for changed files.
>     Nothing
>     > >gets launched at all. I pulled both the 1.8.1.303 source
>     tarball and the
>     > >current cvs HEAD source (as of 2006/07/29) and did a diff
>     between the
>     > >two. I could find nothing that looks like a fix for this
>     problem in the
>     > >source. I am setting up to try to build the latest cvs version,
>     but is
>     > >there any way to get the patch you mentioned to Chewning?
>     > >
>     > >Thanks in advance,
>     > >-Ben Weatherall
>     > >
>     > >-----Original Message-----
>     > >From: anthill-bounces-IWHQxnLZ/[email protected]
>     > >[mailto:anthill-bounces-IWHQxnLZ/[email protected]] On Behalf Of Eric
>     Minick
>     > >Sent: Tuesday, July 11, 2006 11:51 AM
>     > >To: Anthill user list
>     > >Subject: Re: [Anthill] Schedule not working?
>     > >
>     > >Chewning,
>     > >
>     > >This is a known bug that is actually fixed in CVS. If you can
>     check out
>     > >the source and build it, you should be fine.
>     > >(http://www.urbancode.com/projects/anthill/developer.jsp)
>     Otherwise, I
>     > >could probably post or email you a patch.
>     > >
>     > >-- Eric
>     > >_______________________________________________
>     > >Anthill mailing list
>     > >Anthill-IWHQxnLZ/[email protected]
>     > >http://lists.urbancode.com/mailman/listinfo/anthill
>     > >
>     > >
>     >
>     > _______________________________________________
>     > Anthill mailing list
>     > Anthill-IWHQxnLZ/[email protected]
>     > http://lists.urbancode.com/mailman/listinfo/anthill
>     >
>
>
>
>     _______________________________________________
>     Anthill mailing list
>     Anthill-IWHQxnLZ/[email protected]
>     http://lists.urbancode.com/mailman/listinfo/anthill
>
>
>
>
> "There is guidance for each of us, and by lowly listening, we shall 
> hear the right word. Certainly there is a right for you that needs no 
> choice on your part. Place yourself in the middle of the stream of 
> power and wisdom which flows into your life. Then, without effort, you 
> are impelled to truth and to perfect contentment"
>
> ------------------------------------------------------------------------
> How low will we go? Check out Yahoo! Messenger�s low PC-to-Phone call 
> rates. 
>  
>
>
>
> 
>------------------------------------------------------------------------
>
>_______________________________________________
>Anthill mailing list
>Anthill-IWHQxnLZ/[email protected]
>http://lists.urbancode.com/mailman/listinfo/anthill
> 
>

_______________________________________________
Anthill mailing list
Anthill-IWHQxnLZ/[email protected]
http://lists.urbancode.com/mailman/listinfo/anthill




"There is guidance for each of us, and by lowly listening, we shall hear the right word. Certainly there is a right for you that needs no choice on your part. Place yourself in the middle of the stream of power and wisdom which flows into your life. Then, without effort, you are impelled to truth and to perfect contentment"
 		
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.

_______________________________________________
Anthill mailing list
Anthill-IWHQxnLZ/[email protected]
http://lists.urbancode.com/mailman/listinfo/anthill