Article View: borland.public.jbuilder.linux
Article #248Re: Building using the command line
From: Alex
Date: Fri, 10 Sep 2004 19:25
Date: Fri, 10 Sep 2004 19:25
44 lines
2802 bytes
2802 bytes
The cron job is run as root. I can run JBuilderX fine through the console as root. Where does it look for the license?? "Lori M Olson [TeamB]" <javadragon@techie.com> wrote: >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:
<4141ffa3$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!atl-c02.usenetserver.com!c03.atl99!news.usenetserver.com!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<41404b6b@newsgroups.borland.com> <41409e4c$1@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 From: "Alex" <alex.jacinto@ps.ge.com> Sender: "Alex" <alex.jacinto@ps.ge.com> Reply-To: "Alex" <alex.jacinto@ps.ge.com> Subject: Re: Building using the command line Newsgroups: borland.public.jbuilder.linux X-User-Info: 12.36.152.153 References: <41404b6b@newsgroups.borland.com> <41409e4c$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <4141ffa3$1@newsgroups.borland.com> Date: 10 Sep 2004 12:25:23 -0700 X-Trace: newsgroups.borland.com 1094844323 207.105.83.66 (10 Sep 2004 12:25:23 -0700) Lines: 45 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!atl-c02.usenetserver.com!c03.atl99!news.usenetserver.com!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail