Re: problem while building cruise control
"Bal Krishna Shrestha" <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Dear Dan
Now I have following java (after installing jdk-6u25-linux-x64.bin) with
previous ant and cruisecontrol
init:
[echo] Java: 1.6.0_25 (Java HotSpot(TM) 64-Bit Server VM)
[echo] in /opt/jdk/jre
[echo] Ant: Apache Ant version 1.8.0 compiled on February 1 2010
[echo] in /opt/ant
[echo] CruiseControl: 2.8.4
[echo]
But the result is exactly same as before. Nothing new with result while
building cruisecontrol
Do you have another suggestion or idea to make BUILD SUCCESSFUL
Path for java in /etc/profile is like this
PATH=$PATH:$HOME/bin:/usr/local/jdk/bin
I am using src distribution because in site it is written as follows
This Binary Distribution is a trimmed down version of the Source
Distribution. It is fully functional and intended to work with a sample
project - the game Connect Four - "out of the box".
Would binary distribution work with my own project??
Can you please suggest and give idea to cruisecontrol BUILD SUCCESSFUL
Thank you for your support
Kindly Regards,
Bal Krishna Shrestha
-----Original Message-----
From: Dan Rollo [mailto:[email protected]]
Sent: Wednesday, May 25, 2011 12:23 PM
To: Bal Krishna Shrestha
Cc: [email protected]
Subject: Re: [Cruisecontrol-user] problem while building cruise control
A few more ideas:
1. Something does not seem correct regarding your java versions.
"java_ee_sdk-6u2-jdk-linux.sh" sounds like EnterpriseEdition (not the
jdk). Also, it looks like version 6u2 (not 6u25 as your build prints out).
2. You might have only the jre available in your /opt/java/jre. (I doubt
it, but just in case, it might help if you try building with a full
jdk.) Where is the program "javac" found on your machine?
3. One other thought: You don't need to build CruiseControl your self.
The binary distribution works just fine as it is. Just setup your own
config.xml and it will run.
Just to rule out surprises about which jdk/ant/whatever is in use, you
might also try manually installing a jdk (and maybe even ant) into sub
dirs in your own home dir, and use those to try building. (The OS
package installed tools are great, until you don't know which ones are
being used...)
Dan
On 05/25/2011 02:29 AM, Bal Krishna Shrestha wrote:
> Dear Dan,
> Warm Greetings and thanks for your quick response
>
> As your suggestion, I just pressed<enter> during those prompt and still
get
> following error
>
> BUILD FAILED
> /opt/cruisecontrol-2.8.4/reporting/jsp/build.xml:206: jasper2 doesn't
> support the "listerrors" attribute
>
> By the way I am building with root user.
>
> Once I comment the block of jasper2 in file reporting/jsp/build.xml it
BUILD
> SUCCESSFUL
>
>
>
> Here is Java, Ant and Cruisecontrol Version
>
> init:
> [echo] Java: 1.6.0_25 (Java HotSpot(TM) Client VM)
> [echo] in /opt/java/jre
> [echo] Ant: Apache Ant version 1.8.0 compiled on February 1 2010
> [echo] in /opt/ant
> [echo] CruiseControl: 2.8.4
> [echo]
>
> Above is the version of java, ant and Cruisecontrol src distribution that
I
> have in my system. Is java version is wrong for cruisecontrol? If version
of
> java is wrong, can u please suggest me proper version for cruisecontrol.
>
> Java package is "java_ee_sdk-6u2-jdk-linux.sh" which is downloaded from
sun
> java site.
>
>
> Ofcourse I am googling to remove the error due to TIMEZONE with java.
>
>
> If I get some suggestion to solve the problem from you, it would be my
> pleasure.
> Once I found the solution of the problem, I will let you know.
>
>
> Thanks for your support and help
>
>
> Kindly Regards,
> Bal Krishna Shrestha
>
>
>
>
> -----Original Message-----
> From: Dan Rollo [mailto:[email protected]]
> Sent: Wednesday, May 25, 2011 8:23 AM
> To: Bal Krishna Shrestha
> Cc: [email protected]
> Subject: Re: [Cruisecontrol-user] problem while building cruise control
>
> Hi Bal,
>
> I don't think you should have to comment out any portion of
> reporting/jsp/build.xml to build. Maybe the user you are building with
> does not have permissions to the directories you provided? Just as a
> test, could you try just pressing<enter> during those prompts in the
> reporting/jsp build?
>
> Regarding the reporting/dashboard failures, the error messages remind me
> of an issue I saw where certain versions of the jdk (IIRC 64bit jdk6, on
> linux in my case) did not use the timezone defined for the OS, and
> instead defaulted to GMT. The solution was to get the jdk to use the
> proper timezone. (Sorry, I don't remember the details of the check or
> the fix, but ping back if you don't have any luck googling for it).
>
> I think the build should print the exact jdk in use. Could you post that
> info also?
>
> Dan
>
>
>
snip
...
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1