Article View: borland.public.jbuilder.linux
Article #247Re: Building using the command line
From: Lori M Olson [TeamB]
Date: Thu, 09 Sep 2004 18:15
Date: Thu, 09 Sep 2004 18:15
38 lines
2691 bytes
2691 bytes
Alex Jacinto wrote:
> Hi, I currently have JBuilderX and successfully built several jbuilder projects through the command line (i.e. "jbuilder -build project.jpx rebuild"). However, I need to automate my build. I created a Perl script that executes this command, this also is successful. The problem arises when I tell cron to call my perl script. I get the following errors regarding the building of my jbuilder projects:
>
> Use -verbose for details on OpenTool failures
> *** OpenTool com.borland.jbuilder.personality.JBuilderPersonalities failed to initialize
> *** OpenTool com.borland.jbuilder.JBuilderCore failed to initialize
> *** OpenTool com.borland.jbuilder.personality.J2MEPersonality failed to initialize
> Exception in thread "main" java.lang.NoClassDefFoundError
> at com.borland.jbuilder.build.BuildCommand.invokeCommand(Unknown Source)
> at com.borland.primetime.PrimeTime.a(Unknown Source)
> at com.borland.primetime.PrimeTime.start(Unknown Source)
> at com.borland.jbuilder.JBuilder.main(Unknown Source)
>
> Thanks in advance :)
>
What user runs the cron job? Is it the user that is licensed to run
JBuilder on that machine?
--
Regards,
Lori Olson [TeamB]
------------
Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.
Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Technical Details
Message-ID:
<41409e4c$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<41404b6b@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 107590,92dde45bd29539e1 X-Google-Attributes: gid107590,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 09 Sep 2004 12:15:18 -0600 From: "Lori M Olson [TeamB]" <javadragon@techie.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax; CDonDemand-Dom) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.linux Subject: Re: Building using the command line References: <41404b6b@newsgroups.borland.com> In-Reply-To: <41404b6b@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 142.179.181.200 Message-ID: <41409e4c$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1094753868 142.179.181.200 (9 Sep 2004 11:17:48 -0700) Lines: 39 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail