🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.linux
Article #249

Re: Building using the command line

#249
From: Alex
Date: Mon, 13 Sep 2004 17:36
49 lines
3106 bytes
I've been playing with the environment variables that are set if I execute my script in command prompt, I included them in my crontab file.  No luck when crond executes it.  What does JBuilderPersonalities looks for?  And how do I point it to the proper location? thanks in advance.

"Alex" <alex.jacinto@ps.ge.com> wrote:
>
>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: <4145da92$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41404b6b@newsgroups.borland.com> <41409e4c$1@newsgroups.borland.com> <4141ffa3$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> <4141ffa3$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <4145da92$1@newsgroups.borland.com>
Date: 13 Sep 2004 10:36:18 -0700
X-Trace: newsgroups.borland.com 1095096978 207.105.83.66 (13 Sep 2004 10:36:18 -0700)
Lines: 50
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail