if you could construct a .sh (shell script) to capture what you're doing online 
and setup your cron to execute that shell script you'll get identical behaviour 
between the 2

Martin--
--------------------------------------------------------------------------- 
This e-mail message (including attachments, if any) is intended for the use of 
the individual or entity to which it is addressed and may contain information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
--------------------------------------------------------------------------- 
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.
----- Original Message ----- 
From: "Res Pons" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <user@ant.apache.org>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, December 28, 2006 4:26 PM
Subject: Re: Odd Behavior


>I think I emailed Scott prematurely yesterday and it appears that both of 
> you may be right.  I'm seeing a different java compiler kicking in at night 
> when the cronjob starts.  I see gnu's being invoked by the cronjob and sun 
> jdk when I login and my .bash_profile is sourced.
> 
> Thanks, I'll play around to see if I can fix it.
> 
> ----Original Message Follows----
> From: "Martin Gainty" <[EMAIL PROTECTED]>
> Reply-To: "Martin Gainty" <[EMAIL PROTECTED]>
> To: "Ant Users List" <user@ant.apache.org>
> Subject: Re: Odd Behavior
> Date: Wed, 27 Dec 2006 20:21:35 -0500
> 
> Appears that there are different javac compilers
> is there a way to define the same ant clean build 'path' specification for 
> the cron job ?
> 
> M-
> ---------------------------------------------------------------------------
> This e-mail message (including attachments, if any) is intended for the use 
> of the individual or entity to which it is addressed and may contain 
> information that is privileged, proprietary , confidential and exempt from 
> disclosure. If you are not the intended recipient, you are notified that any 
> dissemination, distribution or copying of this communication is strictly 
> prohibited.
> ---------------------------------------------------------------------------
> Le présent message électronique (y compris les pièces qui y sont annexées, 
> le cas échéant) s'adresse au destinataire indiqué et peut contenir des 
> renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
> destinataire de ce document, nous vous signalons qu'il est strictement 
> interdit de le diffuser, de le distribuer ou de le reproduire.
> ----- Original Message -----
> From: "Res Pons" <[EMAIL PROTECTED]>
> To: <user@ant.apache.org>
> Sent: Wednesday, December 27, 2006 3:44 PM
> Subject: Odd Behavior
> 
> 
> > I'm hoping someone could help me with my ant compile process.  I have set 
> up
> > the build process and automation on a linux centOS box.
> >
> > When I cd into the build subfolder and manually run
> >
> > $ ant clean build
> >
> > Everything's ok.
> >
> >
> > But when the cronjob kicks in  and tries to compile, I get tons of 
> errors:
> >
> > --here's the cronjob entry:
> >
> > 40 12 * * * /home/rsvp/build.sh > /home/rsvp/cron.log
> >
> > --here's an excerpt from the build file (build.sh)
> >
> > cd project
> > svn update > $HOME/svnupdate.log
> > cd build
> > ant clean build
> >
> > The problem I'm seeing is that the compile generates way too much verbose
> > information and causes the build to generate errors and stop, any ideas?
> >
> >
> >
> > .compile:
> >    [javac] Compiling 2331 source files to /project/trunk/common/.classes
> >    [javac] ----------
> >    [javac] 1. WARNING in /project/trunk/common/path/filename.java
> >    [javac]  (at line 13)
> >    [javac] import classpath;
> >    [javac]        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >    [javac] The import classpath is never used
> >    [javac] ----------
> >    [javac] ----------
> >    [javac] 2. WARNING in /project/trunk/common/path/filename.java
> >    [javac]  (at line 15)
> >    [javac] import cclasspath;
> >    [javac]        ^^^^^^^^^^^^^^^^^^^^^^^^^
> >    [javac] The import classpath is never used
> >    [javac] ----------
> >    [javac] ----------
> >    [javac] 3. WARNING in /project/trunk/common/path/filename.java
> >    [javac]  (at line 22)
> >    [javac] private static Logger the_log = Logger
> >    [javac]                       ^^^^^^^
> >    [javac] The field blah_blah.the_log is never read locally
> >    [javac] ----------
> >    [javac] ----------
> >
> > _________________________________________________________________
> > From photos to predictions, The MSN Entertainment Guide to Golden Globes 
> has
> > it all. http://tv.msn.com/tv/globes2007/
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> _________________________________________________________________
> From photos to predictions, The MSN Entertainment Guide to Golden Globes has 
> it all. http://tv.msn.com/tv/globes2007/
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to