RE: failing any build

"Res Pons" <[email protected]>
Newsgroups gmane.comp.java.anthill
Message-ID <[email protected]>
Can you under normal circumstances check out of CVS to your desktop (or 
wherever) & build manually w/o Anthill?

Have you set up Anthill's properties correctly?  At the top of the UI?  
Remember this: Anthill likes for everything to reside under it, like Ant, 
the working folders, etc.  Anthill is a wrapper.

anthill.home  c:\anthill
anthill.ant.home  lib/ant1.6.5
anthill.version.adapter   
com.urbancode.anthill.adapter.UrbanCodeVersionAdapter
anthill.repository.adapter   
com.urbancode.anthill.adapter.CVSRepositoryAdapter
anthill.publish.dir.default   publishDir
anthill.mail.host   YourMailHost
anthill.mail.from   YourReal-or-FakeEmailAddr; AH doesn't care
The url that you access anthill from.
anthill.server   http://localhost:8080/anthill/
The ant target to execute when building dependencies.
anthill.dependency.target
The property name to be passed when executing a dependency target whose 
value is the directory of the build artifacts.
anthill.dependency.artifact.property
anthill.background.color
anthill.title.text

Now set up a project, in the project YOU MUST point to a dummy versioning 
file, even if you choose not to allow AH to tag your builds.  AH needs this 
file to keep track of itself.  I call mine anthill.build.version.  In the 
proj click on anthill.version.adapter url, in the next page point to this 
file and its RELATIVE path, click on Update.

Now in the proj's mainpage click on 
com.urbancode.anthill.adapter.CVSRepositoryAdapter, type in the path to your 
working folder relative to anthill/work subfolders, type in your cvs repo 
project name/module, type in the cvs url : 
:pserver:user-9IKiO1iGCm/[email protected]:/usr/local/cvs, type in your user id.  Anthill 
assumes a .cvspass already exists as defined in your environment variables.  
Leave the branches field alone unless you're doing branch builds. Click on 
Update again.

In the main page again, give the path of your build file relative to 
anthill/work.

You can choose for AH to tag or not.  I don't.

I don't use the other fields but the ah.user where I define my email 
distribution list.

In the next field anthill.build.ant.params, call your ant targets in the 
exact order as defined by Ant's command line: ant [options] targets, e.g. 
ant -Dbuild.number=999 clean init compile.  Anthill erroneously in its 
documentation specifies or misprints that no dash should precede D, -D!  But 
I found out that you must provide the dash or it will not work!!

Set up a schedule and you're done.


----Original Message Follows----
From: "Tanguy Swinnen" <tanguy-/mPJgn/[email protected]>
Reply-To: Anthill user list <anthill-IWHQxnLZ/[email protected]>
To: <anthill-IWHQxnLZ/[email protected]>
Subject: [Anthill] failing any build
Date: Sun, 18 Dec 2005 11:31:04 +0100
MIME-Version: 1.0
Received: from lists.urbancode.com ([69.44.154.13]) by 
bay0-mc6-f18.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Sun, 18 
Dec 2005 02:31:32 -0800
Received: (qmail 3757 invoked by uid 510); 18 Dec 2005 10:31:39 -0000
Received: from anthill-bounces-IWHQxnLZ/[email protected] by caladin.urbancode.com 
by uid 504 with qmail-scanner-1.20  (spamassassin: 2.61.  
Clear:RC:1(127.0.0.1):.  Processed in 0.021821 secs); 18 Dec 2005 10:31:39 
-0000
Received: from unknown (HELO caladin.urbancode.com) (127.0.0.1)  by 
lists.urbancode.com with SMTP; 18 Dec 2005 10:31:38 -0000
Received: (qmail 3731 invoked by uid 510); 18 Dec 2005 10:31:34 -0000
Received: from tanguy-/mPJgn/[email protected] by caladin.urbancode.com by uid 504 
withqmail-scanner-1.20 (spamassassin: 2.61.  
Clear:RC:0(195.238.2.91):SA:0(0.2/5.0):. Processed in 1.649905 secs); 18 Dec 
2005 10:31:34 -0000
Received: from outmx026.isp.belgacom.be (195.238.2.91)by lists.urbancode.com 
with SMTP; 18 Dec 2005 10:31:32 -0000
Received: from outmx026.isp.belgacom.be (localhost [127.0.0.1])by 
outmx026.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) withESMTP id 
jBIAVBjW004783for <anthill-IWHQxnLZ/[email protected]>; Sun, 18 Dec 2005 11:31:11 
+0100(envelope-from <tanguy-/mPJgn/[email protected]>)
Received: from TSWINNENXP ([87.65.148.241])by outmx026.isp.belgacom.be 
(8.12.11/8.12.11/Skynet-OUT-2.22) withESMTP id jBIAV4J8004714for 
<anthill-IWHQxnLZ/[email protected]>; Sun, 18 Dec 2005 11:31:04 +0100(envelope-from 
<tanguy-/mPJgn/[email protected]>)
X-Message-Info: JGTYoYF78jGTLiHxUQeMVDkPXSwzpJ+L/kvtjlUI1HA=
Return-Path: <tanguy-/mPJgn/[email protected]>
Delivered-To: mailman-anthill-IWHQxnLZ/[email protected]
X-Mailer: Microsoft Office Outlook, Build 11.0.6353
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
Thread-Index: AcYDviXW0xCY8CBKTeOUm0NWEalHFA==
X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on 
caladin.urbancode.com
X-Spam-Level:
X-Spam-Status: No, hits=0.2 required=5.0 tests=HTML_50_60,HTML_MESSAGE 
autolearn=no version=2.61
X-BeenThere: anthill-IWHQxnLZ/[email protected]
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Anthill user list <anthill.lists.urbancode.com>
List-Unsubscribe: 
<http://lists.urbancode.com/mailman/listinfo/anthill>,<mailto:anthill-request-IWHQxnLZ/[email protected]?subject=unsubscribe>
List-Archive: <http://lists.urbancode.com/pipermail/anthill>
List-Post: <mailto:anthill-IWHQxnLZ/[email protected]>
List-Help: <mailto:anthill-request-IWHQxnLZ/[email protected]?subject=help>
List-Subscribe: 
<http://lists.urbancode.com/mailman/listinfo/anthill>,<mailto:anthill-request-IWHQxnLZ/[email protected]?subject=subscribe>
Errors-To: anthill-bounces-IWHQxnLZ/[email protected]
X-OriginalArrivalTime: 18 Dec 2005 10:31:32.0635 (UTC) 
FILETIME=[36E5FEB0:01C603BE]

Hi,



I try to run anthill examples like the one that extract from the CVS
repository. It fails each time I build it, without being a Java freak. So
please don't blame me be for beginner's questions.



In Tomcat's log, I indeed find some errors





11:15:25:328 [Thread - AnthillBuildDaemon] ERROR
com.urbancode.anthill.adapter.CVSRepositoryAdapter  - CreateProcess: javac
-classpath "nullC:\Program Files\Apache Software Foundation\Tomcat
5.5\bin\bootstrap.jar"
c:\Data\anthill\pagelets\Win32\win_cvs\getRevisionsSince_pgl.java error=2
thrown in new catch

java.io.IOException: CreateProcess: javac -classpath "nullC:\Program
Files\Apache Software Foundation\Tomcat 5.5\bin\bootstrap.jar"
c:\Data\anthill\pagelets\Win32\win_cvs\getRevisionsSince_pgl.java error=2

what is quite strange to be is the null in from of the first classpath
element. I searches Anthill directory for any "tomcat" string to see whether
I wrongly specified a parameter (extra leading blank): nothing. I searched
registry: same result (or at least I didn't find any leading blank).



Is it indeed the source of my problem? Can any body tell me where I wrongly
specified a parameter?







Tanguy



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

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.