You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Ruth Hoffman <rh...@aesolves.com> on 2010/05/27 04:14:07 UTC

How to I overcome this error?

Hi All:
Running ant run-install on the current stable 9.04 release I just 
downloaded causes this problem:

/Users/ruthhoffman/ofbiz-release9.04_May2010/build.xml:151: The 
following error occurred while executing this line:
/Users/ruthhoffman/ofbiz-release9.04_May2010/applications/build.xml:67: 
The following error occurred while executing this line:
/Users/ruthhoffman/ofbiz-release9.04_May2010/macros.xml:27: The 
following error occurred while executing this line:
/Users/ruthhoffman/ofbiz-release9.04_May2010/applications/workeffort/build.xml:55: 
Compile failed; see the compiler error output for details.

Compile error:

[javac15] 
/Users/ruthhoffman/ofbiz-release9.04_May2010/applications/workeffort/src/org/ofbiz/workeffort/workeffort/ICalRecurConverter.java:298: 
method does not override a method from its superclass
  [javac15]     @Override

... 13 times over..


Any way to get past this?

TIA
Ruth


Re: How to I overcome this error?

Posted by Matt Warnock <mw...@ridgecrestherbals.com>.
+1.

As another newcomer to Java, I appreciate the knowledge and patience of
those here.  There is a lot to assimilate, and while I've been around
the block a time or two before, I am definitely a newbie on this block,
and it is not only a new language (actually several) but a whole new
development environment as well.  

The quality of the code seems very high, and the thought behind this
system has always impressed me.  I look forward to learning more.
Thanks again.
-- 
Matt Warnock <mw...@ridgecrestherbals.com>
RidgeCrest Herbals, Inc.

On Thu, 2010-05-27 at 22:13 -0400, Ruth Hoffman wrote:
> Hi Adrian:
> One other thing I'd like to say here, if you care to listen:
> 
> I grew up writing IBM Assembler and Fortran code so Java is relatively 
> new to me. With Java, I'm self taught and most of what I've come to know 
> and love about it I've learned through studying OFBiz.
> 
> I want to thank you and all the OFBiz Java developers out there for 
> making OFBiz a showcase of Java "best practices" and giving me the 
> opportunity to learn from the best. Troubleshooting my problem taught me 
> yet more about Java. I love that there is always something new and 
> interesting here. So, thanks again.
> 
> Sincerely,
> Ruth
> 
> Adrian Crum wrote:
> > The problem was resolved and she thanked us. I'm satisfied.
> >
> > -Adrian
> >
> > --- On Thu, 5/27/10, Hans Bakker <ma...@antwebsystems.com> wrote:
> >
> >   
> >> From: Hans Bakker <ma...@antwebsystems.com>
> >> Subject: Re: How to I overcome this error?
> >> To: user@ofbiz.apache.org
> >> Date: Thursday, May 27, 2010, 6:06 PM
> >> Wouldn't apologies from someone
> >> presenting herself as an expert and
> >> causing so much work for several people be nice here?
> >>
> >>
> >> On Thu, 2010-05-27 at 13:20 -0400, Ruth Hoffman wrote:
> >>     
> >>> Hi Tim:
> >>> I just did it again and you and Adrian are correct. It
> >>>       
> >> is not in there...
> >>     
> >>> Thanks for your help.
> >>> Regards,
> >>> Ruth
> >>>
> >>> Tim Ruppert wrote:
> >>>       
> >>>> Here are those same two methods that I got from
> >>>>         
> >> the download
> >>     
> >>>> -- NOTE I see no "// @Override"
> >>>>
> >>>>      // -----
> >>>>         
> >> TemporalExpressionVisitor Implementation ----- //
> >>     
> >>>>      public void
> >>>>         
> >> visit(Difference expr) {
> >>     
> >>>>      
> >>>>         
> >>    VisitorState newState = new
> >> VisitorState();
> >>     
> >>>>      
> >>>>         
> >>    newState.isIntersection =
> >> this.state.isIntersection;
> >>     
> >>>>      
> >>>>         
> >>    this.stateStack.push(this.state);
> >>     
> >>>>          this.state
> >>>>         
> >> = newState;
> >>     
> >>>>      
> >>>>         
> >>    expr.getIncluded().accept(this);
> >>     
> >>>>      
> >>>>         
> >>    newState.isExcluded = true;
> >>     
> >>>>      
> >>>>         
> >>    expr.getExcluded().accept(this);
> >>     
> >>>>          this.state
> >>>>         
> >> = this.stateStack.pop();
> >>     
> >>>>          if
> >>>>         
> >> (this.state.isIntersection) {
> >>     
> >>>>          
> >>>>         
> >>    this.state.inclRecurList.addAll(newState.inclRecurList);
> >>     
> >>>>          
> >>>>         
> >>    this.state.exRecurList.addAll(newState.exRecurList);
> >>     
> >>>>          }
> >>>>      }
> >>>>
> >>>>  
> >>>>         
> >>    @SuppressWarnings("unchecked")
> >>     
> >>>>      public void
> >>>>         
> >> visit(HourRange expr) {
> >>     
> >>>>          NumberList
> >>>>         
> >> hourList = new NumberList();
> >>     
> >>>>      
> >>>>         
> >>    hourList.addAll(expr.getHourRangeAsSet());
> >>     
> >>>>          Recur recur
> >>>>         
> >> = new Recur(Recur.HOURLY, 0);
> >>     
> >>>>      
> >>>>         
> >>    recur.getHourList().addAll(hourList);
> >>     
> >>>>      
> >>>>         
> >>    this.state.addRecur(recur);
> >>     
> >>>>      }
> >>>>
> >>>> Hope this helps Ruth.
> >>>>
> >>>> Cheers,
> >>>> Ruppert
> >>>>
> >>>> On May 27, 2010, at 10:46 AM, Adrian Crum wrote:
> >>>>
> >>>>    
> >>>>         
> >>>>> It would be interesting to see if anyone else
> >>>>>           
> >> can find those annotations in that download. I certainly
> >> can't.
> >>     
> >>>>> -Adrian
> >>>>>
> >>>>> On 5/27/2010 9:27 AM, Ruth Hoffman wrote:
> >>>>>      
> >>>>>           
> >>>>>> Hi Adrian:
> >>>>>> They may not be in SVN, but they
> >>>>>>             
> >> certainly are in this download. I just
> >>     
> >>>>>> double checked:
> >>>>>>
> >>>>>> http://apache.multihomed.net/ofbiz/apache-ofbiz-09.04.zip
> >>>>>>
> >>>>>> Regards,
> >>>>>> Ruth
> >>>>>>
> >>>>>> Adrian Crum wrote
> >>>>>>        
> >>>>>>             
> >>>>>>> I checked the 9.04 release zip file
> >>>>>>>               
> >> and the repository - those
> >>     
> >>>>>>> annotations do not exist in 9.04.
> >>>>>>>               
> >> They were removed last March - so
> >>     
> >>>>>>> maybe you are using an old download.
> >>>>>>>               
> >> At any rate, the problem doesn't
> >>     
> >>>>>>> exist in current code.
> >>>>>>>
> >>>>>>> -Adrian
> >>>>>>>
> >>>>>>> On 5/27/2010 8:57 AM, Ruth Hoffman
> >>>>>>>               
> >> wrote:
> >>     
> >>>>>>>      
> >>>>>>>               
> >>    
> >>     
> >>>>>>>> Hi Adrian:
> >>>>>>>>
> >>>>>>>> I just downloaded the 9.04
> >>>>>>>>                 
> >> release from the download site and these
> >>     
> >>>>>>>> lines are in the
> >>>>>>>>                 
> >> iCalRecurConverter.java source starting at line 124:
> >>     
> >>>>>>>> @Override
> >>>>>>>> public void visit(Difference
> >>>>>>>>                 
> >> expr) {
> >>     
> >>>>>>>> VisitorState newState = new
> >>>>>>>>                 
> >> VisitorState();
> >>     
> >>>>>>>> newState.isIntersection =
> >>>>>>>>                 
> >> this.state.isIntersection;
> >>     
> >> this.stateStack.push(this.state);
> >>     
> >>>>>>>> this.state = newState;
> >>>>>>>> expr.getIncluded().accept(this);
> >>>>>>>> ...
> >>>>>>>>
> >>>>>>>> Thanks.
> >>>>>>>> Regards
> >>>>>>>> Ruth
> >>>>>>>>
> >>>>>>>> Adrian Crum wrote:
> >>>>>>>>        
> >>>>>>>>                 
> >>    
> >>     
> >>>>>>>>> Where are you getting that
> >>>>>>>>>                   
> >> file from? Those annotations are not in
> >>     
> >>>>>>>>> 9.04.
> >>>>>>>>>
> >>>>>>>>> -Adrian
> >>>>>>>>>
> >>>>>>>>> On 5/27/2010 8:40 AM, Ruth
> >>>>>>>>>                   
> >> Hoffman wrote:
> >>     
> >>>>>>>>>        
> >>>>>>>>>                   
> >>      
> >>     
> >>>>>>>>>> Hi Adrian:
> >>>>>>>>>> Here you go...a partial
> >>>>>>>>>>                     
> >> listing from recent 9.04
> >>     
> >>>>>>>>>> iCalRecurConverter.java
> >>>>>>>>>> (with my comments)
> >>>>>>>>>>                     
> >> source:
> >>     
> >>>>>>>>>> // -----
> >>>>>>>>>>                     
> >> TemporalExpressionVisitor Implementation ----- //
> >>     
> >>>>>>>>>> // @Override
> >>>>>>>>>> public void
> >>>>>>>>>>                     
> >> visit(Difference expr) {
> >>     
> >>>>>>>>>> VisitorState newState =
> >>>>>>>>>>                     
> >> new VisitorState();
> >>     
> >>>>>>>>>> newState.isIntersection =
> >>>>>>>>>>                     
> >> this.state.isIntersection;
> >>     
> >> this.stateStack.push(this.state);
> >>     
> >>>>>>>>>> this.state = newState;
> >>>>>>>>>>
> >>>>>>>>>>                     
> >> expr.getIncluded().accept(this);
> >>     
> >>>>>>>>>> newState.isExcluded =
> >>>>>>>>>>                     
> >> true;
> >>     
> >> expr.getExcluded().accept(this);
> >>     
> >>>>>>>>>> this.state =
> >>>>>>>>>>                     
> >> this.stateStack.pop();
> >>     
> >>>>>>>>>> if
> >>>>>>>>>>                     
> >> (this.state.isIntersection) {
> >>     
> >> this.state.inclRecurList.addAll(newState.inclRecurList);
> >>     
> >> this.state.exRecurList.addAll(newState.exRecurList);
> >>     
> >>>>>>>>>> }
> >>>>>>>>>> }
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>                     
> >> @SuppressWarnings("unchecked")
> >>     
> >>>>>>>>>> // @Override
> >>>>>>>>>> public void
> >>>>>>>>>>                     
> >> visit(HourRange expr) {
> >>     
> >>>>>>>>>> NumberList hourList = new
> >>>>>>>>>>                     
> >> NumberList();
> >>     
> >> hourList.addAll(expr.getHourRangeAsSet());
> >>     
> >>>>>>>>>> Recur recur = new
> >>>>>>>>>>                     
> >> Recur(Recur.HOURLY, 0);
> >>     
> >> recur.getHourList().addAll(hourList
> >>     
> >>>>>>>>>> ...
> >>>>>>>>>> TIA
> >>>>>>>>>> Ruth
> >>>>>>>>>> Adrian Crum wrote:
> >>>>>>>>>>      
> >>>>>>>>>>                     
> >>          
> >>     
> >>>>>>>>>>> On 5/27/2010 4:18 AM,
> >>>>>>>>>>>                       
> >> Ruth Hoffman wrote:
> >>     
> >>>>>>>>>>>      
> >>>>>>>>>>>                       
> >>            
> >>     
> >>>>>>>>>>>> (Ended up just
> >>>>>>>>>>>>                         
> >> commenting out the offending lines in the code.)
> >>     
> >>>>>>>>>>>>    
> >>>>>>>>>>>>                         
> >>            
> >>    
> >>     
> >>>>>>>>>>> I would be interested
> >>>>>>>>>>>                       
> >> in seeing what those offending lines are.
> >>     
> >>>>>>>>>>> Like I
> >>>>>>>>>>> said in my previous
> >>>>>>>>>>>                       
> >> reply, there are no @Override annotations in the
> >>     
> >>>>>>>>>>> 9.04 version of that
> >>>>>>>>>>>                       
> >> file.
> >>     
> >>>>>>>>>>> -Adrian
> >>>>>>>>>>>
> >>>>>>>>>>>      
> >>>>>>>>>>>                       
> >>            
> >>     
> >>>>    
> >>>>         
> >> -- 
> >> Ofbiz on twitter: http://twitter.com/apache_ofbiz
> >> Myself on twitter: http://twitter.com/hansbak
> >> Antwebsystems.com: Quality services for competitive rates.
> >>
> >>
> >>     
> >
> >
> >       
> >
> >   


Re: How to I overcome this error?

Posted by Ruth Hoffman <rh...@aesolves.com>.
Hi Adrian:
One other thing I'd like to say here, if you care to listen:

I grew up writing IBM Assembler and Fortran code so Java is relatively 
new to me. With Java, I'm self taught and most of what I've come to know 
and love about it I've learned through studying OFBiz.

I want to thank you and all the OFBiz Java developers out there for 
making OFBiz a showcase of Java "best practices" and giving me the 
opportunity to learn from the best. Troubleshooting my problem taught me 
yet more about Java. I love that there is always something new and 
interesting here. So, thanks again.

Sincerely,
Ruth

Adrian Crum wrote:
> The problem was resolved and she thanked us. I'm satisfied.
>
> -Adrian
>
> --- On Thu, 5/27/10, Hans Bakker <ma...@antwebsystems.com> wrote:
>
>   
>> From: Hans Bakker <ma...@antwebsystems.com>
>> Subject: Re: How to I overcome this error?
>> To: user@ofbiz.apache.org
>> Date: Thursday, May 27, 2010, 6:06 PM
>> Wouldn't apologies from someone
>> presenting herself as an expert and
>> causing so much work for several people be nice here?
>>
>>
>> On Thu, 2010-05-27 at 13:20 -0400, Ruth Hoffman wrote:
>>     
>>> Hi Tim:
>>> I just did it again and you and Adrian are correct. It
>>>       
>> is not in there...
>>     
>>> Thanks for your help.
>>> Regards,
>>> Ruth
>>>
>>> Tim Ruppert wrote:
>>>       
>>>> Here are those same two methods that I got from
>>>>         
>> the download
>>     
>>>> -- NOTE I see no "// @Override"
>>>>
>>>>      // -----
>>>>         
>> TemporalExpressionVisitor Implementation ----- //
>>     
>>>>      public void
>>>>         
>> visit(Difference expr) {
>>     
>>>>      
>>>>         
>>    VisitorState newState = new
>> VisitorState();
>>     
>>>>      
>>>>         
>>    newState.isIntersection =
>> this.state.isIntersection;
>>     
>>>>      
>>>>         
>>    this.stateStack.push(this.state);
>>     
>>>>          this.state
>>>>         
>> = newState;
>>     
>>>>      
>>>>         
>>    expr.getIncluded().accept(this);
>>     
>>>>      
>>>>         
>>    newState.isExcluded = true;
>>     
>>>>      
>>>>         
>>    expr.getExcluded().accept(this);
>>     
>>>>          this.state
>>>>         
>> = this.stateStack.pop();
>>     
>>>>          if
>>>>         
>> (this.state.isIntersection) {
>>     
>>>>          
>>>>         
>>    this.state.inclRecurList.addAll(newState.inclRecurList);
>>     
>>>>          
>>>>         
>>    this.state.exRecurList.addAll(newState.exRecurList);
>>     
>>>>          }
>>>>      }
>>>>
>>>>  
>>>>         
>>    @SuppressWarnings("unchecked")
>>     
>>>>      public void
>>>>         
>> visit(HourRange expr) {
>>     
>>>>          NumberList
>>>>         
>> hourList = new NumberList();
>>     
>>>>      
>>>>         
>>    hourList.addAll(expr.getHourRangeAsSet());
>>     
>>>>          Recur recur
>>>>         
>> = new Recur(Recur.HOURLY, 0);
>>     
>>>>      
>>>>         
>>    recur.getHourList().addAll(hourList);
>>     
>>>>      
>>>>         
>>    this.state.addRecur(recur);
>>     
>>>>      }
>>>>
>>>> Hope this helps Ruth.
>>>>
>>>> Cheers,
>>>> Ruppert
>>>>
>>>> On May 27, 2010, at 10:46 AM, Adrian Crum wrote:
>>>>
>>>>    
>>>>         
>>>>> It would be interesting to see if anyone else
>>>>>           
>> can find those annotations in that download. I certainly
>> can't.
>>     
>>>>> -Adrian
>>>>>
>>>>> On 5/27/2010 9:27 AM, Ruth Hoffman wrote:
>>>>>      
>>>>>           
>>>>>> Hi Adrian:
>>>>>> They may not be in SVN, but they
>>>>>>             
>> certainly are in this download. I just
>>     
>>>>>> double checked:
>>>>>>
>>>>>> http://apache.multihomed.net/ofbiz/apache-ofbiz-09.04.zip
>>>>>>
>>>>>> Regards,
>>>>>> Ruth
>>>>>>
>>>>>> Adrian Crum wrote
>>>>>>        
>>>>>>             
>>>>>>> I checked the 9.04 release zip file
>>>>>>>               
>> and the repository - those
>>     
>>>>>>> annotations do not exist in 9.04.
>>>>>>>               
>> They were removed last March - so
>>     
>>>>>>> maybe you are using an old download.
>>>>>>>               
>> At any rate, the problem doesn't
>>     
>>>>>>> exist in current code.
>>>>>>>
>>>>>>> -Adrian
>>>>>>>
>>>>>>> On 5/27/2010 8:57 AM, Ruth Hoffman
>>>>>>>               
>> wrote:
>>     
>>>>>>>      
>>>>>>>               
>>    
>>     
>>>>>>>> Hi Adrian:
>>>>>>>>
>>>>>>>> I just downloaded the 9.04
>>>>>>>>                 
>> release from the download site and these
>>     
>>>>>>>> lines are in the
>>>>>>>>                 
>> iCalRecurConverter.java source starting at line 124:
>>     
>>>>>>>> @Override
>>>>>>>> public void visit(Difference
>>>>>>>>                 
>> expr) {
>>     
>>>>>>>> VisitorState newState = new
>>>>>>>>                 
>> VisitorState();
>>     
>>>>>>>> newState.isIntersection =
>>>>>>>>                 
>> this.state.isIntersection;
>>     
>> this.stateStack.push(this.state);
>>     
>>>>>>>> this.state = newState;
>>>>>>>> expr.getIncluded().accept(this);
>>>>>>>> ...
>>>>>>>>
>>>>>>>> Thanks.
>>>>>>>> Regards
>>>>>>>> Ruth
>>>>>>>>
>>>>>>>> Adrian Crum wrote:
>>>>>>>>        
>>>>>>>>                 
>>    
>>     
>>>>>>>>> Where are you getting that
>>>>>>>>>                   
>> file from? Those annotations are not in
>>     
>>>>>>>>> 9.04.
>>>>>>>>>
>>>>>>>>> -Adrian
>>>>>>>>>
>>>>>>>>> On 5/27/2010 8:40 AM, Ruth
>>>>>>>>>                   
>> Hoffman wrote:
>>     
>>>>>>>>>        
>>>>>>>>>                   
>>      
>>     
>>>>>>>>>> Hi Adrian:
>>>>>>>>>> Here you go...a partial
>>>>>>>>>>                     
>> listing from recent 9.04
>>     
>>>>>>>>>> iCalRecurConverter.java
>>>>>>>>>> (with my comments)
>>>>>>>>>>                     
>> source:
>>     
>>>>>>>>>> // -----
>>>>>>>>>>                     
>> TemporalExpressionVisitor Implementation ----- //
>>     
>>>>>>>>>> // @Override
>>>>>>>>>> public void
>>>>>>>>>>                     
>> visit(Difference expr) {
>>     
>>>>>>>>>> VisitorState newState =
>>>>>>>>>>                     
>> new VisitorState();
>>     
>>>>>>>>>> newState.isIntersection =
>>>>>>>>>>                     
>> this.state.isIntersection;
>>     
>> this.stateStack.push(this.state);
>>     
>>>>>>>>>> this.state = newState;
>>>>>>>>>>
>>>>>>>>>>                     
>> expr.getIncluded().accept(this);
>>     
>>>>>>>>>> newState.isExcluded =
>>>>>>>>>>                     
>> true;
>>     
>> expr.getExcluded().accept(this);
>>     
>>>>>>>>>> this.state =
>>>>>>>>>>                     
>> this.stateStack.pop();
>>     
>>>>>>>>>> if
>>>>>>>>>>                     
>> (this.state.isIntersection) {
>>     
>> this.state.inclRecurList.addAll(newState.inclRecurList);
>>     
>> this.state.exRecurList.addAll(newState.exRecurList);
>>     
>>>>>>>>>> }
>>>>>>>>>> }
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>                     
>> @SuppressWarnings("unchecked")
>>     
>>>>>>>>>> // @Override
>>>>>>>>>> public void
>>>>>>>>>>                     
>> visit(HourRange expr) {
>>     
>>>>>>>>>> NumberList hourList = new
>>>>>>>>>>                     
>> NumberList();
>>     
>> hourList.addAll(expr.getHourRangeAsSet());
>>     
>>>>>>>>>> Recur recur = new
>>>>>>>>>>                     
>> Recur(Recur.HOURLY, 0);
>>     
>> recur.getHourList().addAll(hourList
>>     
>>>>>>>>>> ...
>>>>>>>>>> TIA
>>>>>>>>>> Ruth
>>>>>>>>>> Adrian Crum wrote:
>>>>>>>>>>      
>>>>>>>>>>                     
>>          
>>     
>>>>>>>>>>> On 5/27/2010 4:18 AM,
>>>>>>>>>>>                       
>> Ruth Hoffman wrote:
>>     
>>>>>>>>>>>      
>>>>>>>>>>>                       
>>            
>>     
>>>>>>>>>>>> (Ended up just
>>>>>>>>>>>>                         
>> commenting out the offending lines in the code.)
>>     
>>>>>>>>>>>>    
>>>>>>>>>>>>                         
>>            
>>    
>>     
>>>>>>>>>>> I would be interested
>>>>>>>>>>>                       
>> in seeing what those offending lines are.
>>     
>>>>>>>>>>> Like I
>>>>>>>>>>> said in my previous
>>>>>>>>>>>                       
>> reply, there are no @Override annotations in the
>>     
>>>>>>>>>>> 9.04 version of that
>>>>>>>>>>>                       
>> file.
>>     
>>>>>>>>>>> -Adrian
>>>>>>>>>>>
>>>>>>>>>>>      
>>>>>>>>>>>                       
>>            
>>     
>>>>    
>>>>         
>> -- 
>> Ofbiz on twitter: http://twitter.com/apache_ofbiz
>> Myself on twitter: http://twitter.com/hansbak
>> Antwebsystems.com: Quality services for competitive rates.
>>
>>
>>     
>
>
>       
>
>   

Re: How to I overcome this error?

Posted by Adrian Crum <ad...@yahoo.com>.
The problem was resolved and she thanked us. I'm satisfied.

-Adrian

--- On Thu, 5/27/10, Hans Bakker <ma...@antwebsystems.com> wrote:

> From: Hans Bakker <ma...@antwebsystems.com>
> Subject: Re: How to I overcome this error?
> To: user@ofbiz.apache.org
> Date: Thursday, May 27, 2010, 6:06 PM
> Wouldn't apologies from someone
> presenting herself as an expert and
> causing so much work for several people be nice here?
> 
> 
> On Thu, 2010-05-27 at 13:20 -0400, Ruth Hoffman wrote:
> > Hi Tim:
> > I just did it again and you and Adrian are correct. It
> is not in there...
> > Thanks for your help.
> > Regards,
> > Ruth
> > 
> > Tim Ruppert wrote:
> > > Here are those same two methods that I got from
> the download
> > > -- NOTE I see no "// @Override"
> > >
> > >     // -----
> TemporalExpressionVisitor Implementation ----- //
> > >
> > >     public void
> visit(Difference expr) {
> > >     
>    VisitorState newState = new
> VisitorState();
> > >     
>    newState.isIntersection =
> this.state.isIntersection;
> > >     
>    this.stateStack.push(this.state);
> > >         this.state
> = newState;
> > >     
>    expr.getIncluded().accept(this);
> > >     
>    newState.isExcluded = true;
> > >     
>    expr.getExcluded().accept(this);
> > >         this.state
> = this.stateStack.pop();
> > >         if
> (this.state.isIntersection) {
> > >         
>    this.state.inclRecurList.addAll(newState.inclRecurList);
> > >         
>    this.state.exRecurList.addAll(newState.exRecurList);
> > >         }
> > >     }
> > >
> > > 
>    @SuppressWarnings("unchecked")
> > >     public void
> visit(HourRange expr) {
> > >         NumberList
> hourList = new NumberList();
> > >     
>    hourList.addAll(expr.getHourRangeAsSet());
> > >         Recur recur
> = new Recur(Recur.HOURLY, 0);
> > >     
>    recur.getHourList().addAll(hourList);
> > >     
>    this.state.addRecur(recur);
> > >     }
> > >
> > > Hope this helps Ruth.
> > >
> > > Cheers,
> > > Ruppert
> > >
> > > On May 27, 2010, at 10:46 AM, Adrian Crum wrote:
> > >
> > >   
> > >> It would be interesting to see if anyone else
> can find those annotations in that download. I certainly
> can't.
> > >>
> > >> -Adrian
> > >>
> > >> On 5/27/2010 9:27 AM, Ruth Hoffman wrote:
> > >>     
> > >>> Hi Adrian:
> > >>> They may not be in SVN, but they
> certainly are in this download. I just
> > >>> double checked:
> > >>>
> > >>> http://apache.multihomed.net/ofbiz/apache-ofbiz-09.04.zip
> > >>>
> > >>> Regards,
> > >>> Ruth
> > >>>
> > >>> Adrian Crum wrote
> > >>>       
> > >>>> I checked the 9.04 release zip file
> and the repository - those
> > >>>> annotations do not exist in 9.04.
> They were removed last March - so
> > >>>> maybe you are using an old download.
> At any rate, the problem doesn't
> > >>>> exist in current code.
> > >>>>
> > >>>> -Adrian
> > >>>>
> > >>>> On 5/27/2010 8:57 AM, Ruth Hoffman
> wrote:
> > >>>>     
>    
> > >>>>> Hi Adrian:
> > >>>>>
> > >>>>> I just downloaded the 9.04
> release from the download site and these
> > >>>>> lines are in the
> iCalRecurConverter.java source starting at line 124:
> > >>>>>
> > >>>>> @Override
> > >>>>> public void visit(Difference
> expr) {
> > >>>>> VisitorState newState = new
> VisitorState();
> > >>>>> newState.isIntersection =
> this.state.isIntersection;
> > >>>>>
> this.stateStack.push(this.state);
> > >>>>> this.state = newState;
> > >>>>> expr.getIncluded().accept(this);
> > >>>>> ...
> > >>>>>
> > >>>>> Thanks.
> > >>>>> Regards
> > >>>>> Ruth
> > >>>>>
> > >>>>> Adrian Crum wrote:
> > >>>>>       
>    
> > >>>>>> Where are you getting that
> file from? Those annotations are not in
> > >>>>>> 9.04.
> > >>>>>>
> > >>>>>> -Adrian
> > >>>>>>
> > >>>>>> On 5/27/2010 8:40 AM, Ruth
> Hoffman wrote:
> > >>>>>>       
>      
> > >>>>>>> Hi Adrian:
> > >>>>>>> Here you go...a partial
> listing from recent 9.04
> > >>>>>>> iCalRecurConverter.java
> > >>>>>>> (with my comments)
> source:
> > >>>>>>>
> > >>>>>>> // -----
> TemporalExpressionVisitor Implementation ----- //
> > >>>>>>>
> > >>>>>>> // @Override
> > >>>>>>> public void
> visit(Difference expr) {
> > >>>>>>> VisitorState newState =
> new VisitorState();
> > >>>>>>> newState.isIntersection =
> this.state.isIntersection;
> > >>>>>>>
> this.stateStack.push(this.state);
> > >>>>>>> this.state = newState;
> > >>>>>>>
> expr.getIncluded().accept(this);
> > >>>>>>> newState.isExcluded =
> true;
> > >>>>>>>
> expr.getExcluded().accept(this);
> > >>>>>>> this.state =
> this.stateStack.pop();
> > >>>>>>> if
> (this.state.isIntersection) {
> > >>>>>>>
> this.state.inclRecurList.addAll(newState.inclRecurList);
> > >>>>>>>
> this.state.exRecurList.addAll(newState.exRecurList);
> > >>>>>>> }
> > >>>>>>> }
> > >>>>>>>
> > >>>>>>>
> @SuppressWarnings("unchecked")
> > >>>>>>> // @Override
> > >>>>>>> public void
> visit(HourRange expr) {
> > >>>>>>> NumberList hourList = new
> NumberList();
> > >>>>>>>
> hourList.addAll(expr.getHourRangeAsSet());
> > >>>>>>> Recur recur = new
> Recur(Recur.HOURLY, 0);
> > >>>>>>>
> recur.getHourList().addAll(hourList
> > >>>>>>> ...
> > >>>>>>> TIA
> > >>>>>>> Ruth
> > >>>>>>> Adrian Crum wrote:
> > >>>>>>>     
>          
> > >>>>>>>> On 5/27/2010 4:18 AM,
> Ruth Hoffman wrote:
> > >>>>>>>>     
>            
> > >>>>>>>>> (Ended up just
> commenting out the offending lines in the code.)
> > >>>>>>>>>   
>            
>    
> > >>>>>>>> I would be interested
> in seeing what those offending lines are.
> > >>>>>>>> Like I
> > >>>>>>>> said in my previous
> reply, there are no @Override annotations in the
> > >>>>>>>> 9.04 version of that
> file.
> > >>>>>>>>
> > >>>>>>>> -Adrian
> > >>>>>>>>
> > >>>>>>>>     
>            
> > >
> > >
> > >   
> 
> -- 
> Ofbiz on twitter: http://twitter.com/apache_ofbiz
> Myself on twitter: http://twitter.com/hansbak
> Antwebsystems.com: Quality services for competitive rates.
> 
> 


      

Re: How to I overcome this error?

Posted by Ruth Hoffman <rh...@aesolves.com>.
Hi Hans:

I'm not sure what you'd like me to apologize for?

That said, I will say: thanks to everyone who so graciously gave of 
their time to help me resolve this issue.

A special thanks to Adrian who took time out of his very busy schedule 
to find time to help.

And to you Hans, for reminding me that I am only human. I never 
professed to be an expert at anything and I'm incredulous that anyone 
would interpret anything I say as "expert" advice.

Again,
Thanks all.
Ruth
----------------------------------------------------
Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz"
ruth.hoffman@myofbiz.com

Hans Bakker wrote:
> Wouldn't apologies from someone presenting herself as an expert and
> causing so much work for several people be nice here?
>
>
> On Thu, 2010-05-27 at 13:20 -0400, Ruth Hoffman wrote:
>   
>> Hi Tim:
>> I just did it again and you and Adrian are correct. It is not in there...
>> Thanks for your help.
>> Regards,
>> Ruth
>>
>> Tim Ruppert wrote:
>>     
>>> Here are those same two methods that I got from the download
>>> -- NOTE I see no "// @Override"
>>>
>>>     // ----- TemporalExpressionVisitor Implementation ----- //
>>>
>>>     public void visit(Difference expr) {
>>>         VisitorState newState = new VisitorState();
>>>         newState.isIntersection = this.state.isIntersection;
>>>         this.stateStack.push(this.state);
>>>         this.state = newState;
>>>         expr.getIncluded().accept(this);
>>>         newState.isExcluded = true;
>>>         expr.getExcluded().accept(this);
>>>         this.state = this.stateStack.pop();
>>>         if (this.state.isIntersection) {
>>>             this.state.inclRecurList.addAll(newState.inclRecurList);
>>>             this.state.exRecurList.addAll(newState.exRecurList);
>>>         }
>>>     }
>>>
>>>     @SuppressWarnings("unchecked")
>>>     public void visit(HourRange expr) {
>>>         NumberList hourList = new NumberList();
>>>         hourList.addAll(expr.getHourRangeAsSet());
>>>         Recur recur = new Recur(Recur.HOURLY, 0);
>>>         recur.getHourList().addAll(hourList);
>>>         this.state.addRecur(recur);
>>>     }
>>>
>>> Hope this helps Ruth.
>>>
>>> Cheers,
>>> Ruppert
>>>
>>> On May 27, 2010, at 10:46 AM, Adrian Crum wrote:
>>>
>>>   
>>>       
>>>> It would be interesting to see if anyone else can find those annotations in that download. I certainly can't.
>>>>
>>>> -Adrian
>>>>
>>>> On 5/27/2010 9:27 AM, Ruth Hoffman wrote:
>>>>     
>>>>         
>>>>> Hi Adrian:
>>>>> They may not be in SVN, but they certainly are in this download. I just
>>>>> double checked:
>>>>>
>>>>> http://apache.multihomed.net/ofbiz/apache-ofbiz-09.04.zip
>>>>>
>>>>> Regards,
>>>>> Ruth
>>>>>
>>>>> Adrian Crum wrote
>>>>>       
>>>>>           
>>>>>> I checked the 9.04 release zip file and the repository - those
>>>>>> annotations do not exist in 9.04. They were removed last March - so
>>>>>> maybe you are using an old download. At any rate, the problem doesn't
>>>>>> exist in current code.
>>>>>>
>>>>>> -Adrian
>>>>>>
>>>>>> On 5/27/2010 8:57 AM, Ruth Hoffman wrote:
>>>>>>         
>>>>>>             
>>>>>>> Hi Adrian:
>>>>>>>
>>>>>>> I just downloaded the 9.04 release from the download site and these
>>>>>>> lines are in the iCalRecurConverter.java source starting at line 124:
>>>>>>>
>>>>>>> @Override
>>>>>>> public void visit(Difference expr) {
>>>>>>> VisitorState newState = new VisitorState();
>>>>>>> newState.isIntersection = this.state.isIntersection;
>>>>>>> this.stateStack.push(this.state);
>>>>>>> this.state = newState;
>>>>>>> expr.getIncluded().accept(this);
>>>>>>> ...
>>>>>>>
>>>>>>> Thanks.
>>>>>>> Regards
>>>>>>> Ruth
>>>>>>>
>>>>>>> Adrian Crum wrote:
>>>>>>>           
>>>>>>>               
>>>>>>>> Where are you getting that file from? Those annotations are not in
>>>>>>>> 9.04.
>>>>>>>>
>>>>>>>> -Adrian
>>>>>>>>
>>>>>>>> On 5/27/2010 8:40 AM, Ruth Hoffman wrote:
>>>>>>>>             
>>>>>>>>                 
>>>>>>>>> Hi Adrian:
>>>>>>>>> Here you go...a partial listing from recent 9.04
>>>>>>>>> iCalRecurConverter.java
>>>>>>>>> (with my comments) source:
>>>>>>>>>
>>>>>>>>> // ----- TemporalExpressionVisitor Implementation ----- //
>>>>>>>>>
>>>>>>>>> // @Override
>>>>>>>>> public void visit(Difference expr) {
>>>>>>>>> VisitorState newState = new VisitorState();
>>>>>>>>> newState.isIntersection = this.state.isIntersection;
>>>>>>>>> this.stateStack.push(this.state);
>>>>>>>>> this.state = newState;
>>>>>>>>> expr.getIncluded().accept(this);
>>>>>>>>> newState.isExcluded = true;
>>>>>>>>> expr.getExcluded().accept(this);
>>>>>>>>> this.state = this.stateStack.pop();
>>>>>>>>> if (this.state.isIntersection) {
>>>>>>>>> this.state.inclRecurList.addAll(newState.inclRecurList);
>>>>>>>>> this.state.exRecurList.addAll(newState.exRecurList);
>>>>>>>>> }
>>>>>>>>> }
>>>>>>>>>
>>>>>>>>> @SuppressWarnings("unchecked")
>>>>>>>>> // @Override
>>>>>>>>> public void visit(HourRange expr) {
>>>>>>>>> NumberList hourList = new NumberList();
>>>>>>>>> hourList.addAll(expr.getHourRangeAsSet());
>>>>>>>>> Recur recur = new Recur(Recur.HOURLY, 0);
>>>>>>>>> recur.getHourList().addAll(hourList
>>>>>>>>> ...
>>>>>>>>> TIA
>>>>>>>>> Ruth
>>>>>>>>> Adrian Crum wrote:
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>>>> On 5/27/2010 4:18 AM, Ruth Hoffman wrote:
>>>>>>>>>>                 
>>>>>>>>>>                     
>>>>>>>>>>> (Ended up just commenting out the offending lines in the code.)
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>>>>> I would be interested in seeing what those offending lines are.
>>>>>>>>>> Like I
>>>>>>>>>> said in my previous reply, there are no @Override annotations in the
>>>>>>>>>> 9.04 version of that file.
>>>>>>>>>>
>>>>>>>>>> -Adrian
>>>>>>>>>>
>>>>>>>>>>                 
>>>>>>>>>>                     
>>>   
>>>       
>
>   

Re: How to I overcome this error?

Posted by Hans Bakker <ma...@antwebsystems.com>.
Wouldn't apologies from someone presenting herself as an expert and
causing so much work for several people be nice here?


On Thu, 2010-05-27 at 13:20 -0400, Ruth Hoffman wrote:
> Hi Tim:
> I just did it again and you and Adrian are correct. It is not in there...
> Thanks for your help.
> Regards,
> Ruth
> 
> Tim Ruppert wrote:
> > Here are those same two methods that I got from the download
> > -- NOTE I see no "// @Override"
> >
> >     // ----- TemporalExpressionVisitor Implementation ----- //
> >
> >     public void visit(Difference expr) {
> >         VisitorState newState = new VisitorState();
> >         newState.isIntersection = this.state.isIntersection;
> >         this.stateStack.push(this.state);
> >         this.state = newState;
> >         expr.getIncluded().accept(this);
> >         newState.isExcluded = true;
> >         expr.getExcluded().accept(this);
> >         this.state = this.stateStack.pop();
> >         if (this.state.isIntersection) {
> >             this.state.inclRecurList.addAll(newState.inclRecurList);
> >             this.state.exRecurList.addAll(newState.exRecurList);
> >         }
> >     }
> >
> >     @SuppressWarnings("unchecked")
> >     public void visit(HourRange expr) {
> >         NumberList hourList = new NumberList();
> >         hourList.addAll(expr.getHourRangeAsSet());
> >         Recur recur = new Recur(Recur.HOURLY, 0);
> >         recur.getHourList().addAll(hourList);
> >         this.state.addRecur(recur);
> >     }
> >
> > Hope this helps Ruth.
> >
> > Cheers,
> > Ruppert
> >
> > On May 27, 2010, at 10:46 AM, Adrian Crum wrote:
> >
> >   
> >> It would be interesting to see if anyone else can find those annotations in that download. I certainly can't.
> >>
> >> -Adrian
> >>
> >> On 5/27/2010 9:27 AM, Ruth Hoffman wrote:
> >>     
> >>> Hi Adrian:
> >>> They may not be in SVN, but they certainly are in this download. I just
> >>> double checked:
> >>>
> >>> http://apache.multihomed.net/ofbiz/apache-ofbiz-09.04.zip
> >>>
> >>> Regards,
> >>> Ruth
> >>>
> >>> Adrian Crum wrote
> >>>       
> >>>> I checked the 9.04 release zip file and the repository - those
> >>>> annotations do not exist in 9.04. They were removed last March - so
> >>>> maybe you are using an old download. At any rate, the problem doesn't
> >>>> exist in current code.
> >>>>
> >>>> -Adrian
> >>>>
> >>>> On 5/27/2010 8:57 AM, Ruth Hoffman wrote:
> >>>>         
> >>>>> Hi Adrian:
> >>>>>
> >>>>> I just downloaded the 9.04 release from the download site and these
> >>>>> lines are in the iCalRecurConverter.java source starting at line 124:
> >>>>>
> >>>>> @Override
> >>>>> public void visit(Difference expr) {
> >>>>> VisitorState newState = new VisitorState();
> >>>>> newState.isIntersection = this.state.isIntersection;
> >>>>> this.stateStack.push(this.state);
> >>>>> this.state = newState;
> >>>>> expr.getIncluded().accept(this);
> >>>>> ...
> >>>>>
> >>>>> Thanks.
> >>>>> Regards
> >>>>> Ruth
> >>>>>
> >>>>> Adrian Crum wrote:
> >>>>>           
> >>>>>> Where are you getting that file from? Those annotations are not in
> >>>>>> 9.04.
> >>>>>>
> >>>>>> -Adrian
> >>>>>>
> >>>>>> On 5/27/2010 8:40 AM, Ruth Hoffman wrote:
> >>>>>>             
> >>>>>>> Hi Adrian:
> >>>>>>> Here you go...a partial listing from recent 9.04
> >>>>>>> iCalRecurConverter.java
> >>>>>>> (with my comments) source:
> >>>>>>>
> >>>>>>> // ----- TemporalExpressionVisitor Implementation ----- //
> >>>>>>>
> >>>>>>> // @Override
> >>>>>>> public void visit(Difference expr) {
> >>>>>>> VisitorState newState = new VisitorState();
> >>>>>>> newState.isIntersection = this.state.isIntersection;
> >>>>>>> this.stateStack.push(this.state);
> >>>>>>> this.state = newState;
> >>>>>>> expr.getIncluded().accept(this);
> >>>>>>> newState.isExcluded = true;
> >>>>>>> expr.getExcluded().accept(this);
> >>>>>>> this.state = this.stateStack.pop();
> >>>>>>> if (this.state.isIntersection) {
> >>>>>>> this.state.inclRecurList.addAll(newState.inclRecurList);
> >>>>>>> this.state.exRecurList.addAll(newState.exRecurList);
> >>>>>>> }
> >>>>>>> }
> >>>>>>>
> >>>>>>> @SuppressWarnings("unchecked")
> >>>>>>> // @Override
> >>>>>>> public void visit(HourRange expr) {
> >>>>>>> NumberList hourList = new NumberList();
> >>>>>>> hourList.addAll(expr.getHourRangeAsSet());
> >>>>>>> Recur recur = new Recur(Recur.HOURLY, 0);
> >>>>>>> recur.getHourList().addAll(hourList
> >>>>>>> ...
> >>>>>>> TIA
> >>>>>>> Ruth
> >>>>>>> Adrian Crum wrote:
> >>>>>>>               
> >>>>>>>> On 5/27/2010 4:18 AM, Ruth Hoffman wrote:
> >>>>>>>>                 
> >>>>>>>>> (Ended up just commenting out the offending lines in the code.)
> >>>>>>>>>                   
> >>>>>>>> I would be interested in seeing what those offending lines are.
> >>>>>>>> Like I
> >>>>>>>> said in my previous reply, there are no @Override annotations in the
> >>>>>>>> 9.04 version of that file.
> >>>>>>>>
> >>>>>>>> -Adrian
> >>>>>>>>
> >>>>>>>>                 
> >
> >
> >   

-- 
Ofbiz on twitter: http://twitter.com/apache_ofbiz
Myself on twitter: http://twitter.com/hansbak
Antwebsystems.com: Quality services for competitive rates.


Re: How to I overcome this error?

Posted by Ruth Hoffman <rh...@aesolves.com>.
Hi Tim:
I just did it again and you and Adrian are correct. It is not in there...
Thanks for your help.
Regards,
Ruth

Tim Ruppert wrote:
> Here are those same two methods that I got from the download
> -- NOTE I see no "// @Override"
>
>     // ----- TemporalExpressionVisitor Implementation ----- //
>
>     public void visit(Difference expr) {
>         VisitorState newState = new VisitorState();
>         newState.isIntersection = this.state.isIntersection;
>         this.stateStack.push(this.state);
>         this.state = newState;
>         expr.getIncluded().accept(this);
>         newState.isExcluded = true;
>         expr.getExcluded().accept(this);
>         this.state = this.stateStack.pop();
>         if (this.state.isIntersection) {
>             this.state.inclRecurList.addAll(newState.inclRecurList);
>             this.state.exRecurList.addAll(newState.exRecurList);
>         }
>     }
>
>     @SuppressWarnings("unchecked")
>     public void visit(HourRange expr) {
>         NumberList hourList = new NumberList();
>         hourList.addAll(expr.getHourRangeAsSet());
>         Recur recur = new Recur(Recur.HOURLY, 0);
>         recur.getHourList().addAll(hourList);
>         this.state.addRecur(recur);
>     }
>
> Hope this helps Ruth.
>
> Cheers,
> Ruppert
>
> On May 27, 2010, at 10:46 AM, Adrian Crum wrote:
>
>   
>> It would be interesting to see if anyone else can find those annotations in that download. I certainly can't.
>>
>> -Adrian
>>
>> On 5/27/2010 9:27 AM, Ruth Hoffman wrote:
>>     
>>> Hi Adrian:
>>> They may not be in SVN, but they certainly are in this download. I just
>>> double checked:
>>>
>>> http://apache.multihomed.net/ofbiz/apache-ofbiz-09.04.zip
>>>
>>> Regards,
>>> Ruth
>>>
>>> Adrian Crum wrote
>>>       
>>>> I checked the 9.04 release zip file and the repository - those
>>>> annotations do not exist in 9.04. They were removed last March - so
>>>> maybe you are using an old download. At any rate, the problem doesn't
>>>> exist in current code.
>>>>
>>>> -Adrian
>>>>
>>>> On 5/27/2010 8:57 AM, Ruth Hoffman wrote:
>>>>         
>>>>> Hi Adrian:
>>>>>
>>>>> I just downloaded the 9.04 release from the download site and these
>>>>> lines are in the iCalRecurConverter.java source starting at line 124:
>>>>>
>>>>> @Override
>>>>> public void visit(Difference expr) {
>>>>> VisitorState newState = new VisitorState();
>>>>> newState.isIntersection = this.state.isIntersection;
>>>>> this.stateStack.push(this.state);
>>>>> this.state = newState;
>>>>> expr.getIncluded().accept(this);
>>>>> ...
>>>>>
>>>>> Thanks.
>>>>> Regards
>>>>> Ruth
>>>>>
>>>>> Adrian Crum wrote:
>>>>>           
>>>>>> Where are you getting that file from? Those annotations are not in
>>>>>> 9.04.
>>>>>>
>>>>>> -Adrian
>>>>>>
>>>>>> On 5/27/2010 8:40 AM, Ruth Hoffman wrote:
>>>>>>             
>>>>>>> Hi Adrian:
>>>>>>> Here you go...a partial listing from recent 9.04
>>>>>>> iCalRecurConverter.java
>>>>>>> (with my comments) source:
>>>>>>>
>>>>>>> // ----- TemporalExpressionVisitor Implementation ----- //
>>>>>>>
>>>>>>> // @Override
>>>>>>> public void visit(Difference expr) {
>>>>>>> VisitorState newState = new VisitorState();
>>>>>>> newState.isIntersection = this.state.isIntersection;
>>>>>>> this.stateStack.push(this.state);
>>>>>>> this.state = newState;
>>>>>>> expr.getIncluded().accept(this);
>>>>>>> newState.isExcluded = true;
>>>>>>> expr.getExcluded().accept(this);
>>>>>>> this.state = this.stateStack.pop();
>>>>>>> if (this.state.isIntersection) {
>>>>>>> this.state.inclRecurList.addAll(newState.inclRecurList);
>>>>>>> this.state.exRecurList.addAll(newState.exRecurList);
>>>>>>> }
>>>>>>> }
>>>>>>>
>>>>>>> @SuppressWarnings("unchecked")
>>>>>>> // @Override
>>>>>>> public void visit(HourRange expr) {
>>>>>>> NumberList hourList = new NumberList();
>>>>>>> hourList.addAll(expr.getHourRangeAsSet());
>>>>>>> Recur recur = new Recur(Recur.HOURLY, 0);
>>>>>>> recur.getHourList().addAll(hourList
>>>>>>> ...
>>>>>>> TIA
>>>>>>> Ruth
>>>>>>> Adrian Crum wrote:
>>>>>>>               
>>>>>>>> On 5/27/2010 4:18 AM, Ruth Hoffman wrote:
>>>>>>>>                 
>>>>>>>>> (Ended up just commenting out the offending lines in the code.)
>>>>>>>>>                   
>>>>>>>> I would be interested in seeing what those offending lines are.
>>>>>>>> Like I
>>>>>>>> said in my previous reply, there are no @Override annotations in the
>>>>>>>> 9.04 version of that file.
>>>>>>>>
>>>>>>>> -Adrian
>>>>>>>>
>>>>>>>>                 
>
>
>   

Re: How to I overcome this error?

Posted by Tim Ruppert <ti...@hotwaxmedia.com>.
Here are those same two methods that I got from the download
-- NOTE I see no "// @Override"

    // ----- TemporalExpressionVisitor Implementation ----- //

    public void visit(Difference expr) {
        VisitorState newState = new VisitorState();
        newState.isIntersection = this.state.isIntersection;
        this.stateStack.push(this.state);
        this.state = newState;
        expr.getIncluded().accept(this);
        newState.isExcluded = true;
        expr.getExcluded().accept(this);
        this.state = this.stateStack.pop();
        if (this.state.isIntersection) {
            this.state.inclRecurList.addAll(newState.inclRecurList);
            this.state.exRecurList.addAll(newState.exRecurList);
        }
    }

    @SuppressWarnings("unchecked")
    public void visit(HourRange expr) {
        NumberList hourList = new NumberList();
        hourList.addAll(expr.getHourRangeAsSet());
        Recur recur = new Recur(Recur.HOURLY, 0);
        recur.getHourList().addAll(hourList);
        this.state.addRecur(recur);
    }

Hope this helps Ruth.

Cheers,
Ruppert

On May 27, 2010, at 10:46 AM, Adrian Crum wrote:

> It would be interesting to see if anyone else can find those annotations in that download. I certainly can't.
> 
> -Adrian
> 
> On 5/27/2010 9:27 AM, Ruth Hoffman wrote:
>> Hi Adrian:
>> They may not be in SVN, but they certainly are in this download. I just
>> double checked:
>> 
>> http://apache.multihomed.net/ofbiz/apache-ofbiz-09.04.zip
>> 
>> Regards,
>> Ruth
>> 
>> Adrian Crum wrote
>>> I checked the 9.04 release zip file and the repository - those
>>> annotations do not exist in 9.04. They were removed last March - so
>>> maybe you are using an old download. At any rate, the problem doesn't
>>> exist in current code.
>>> 
>>> -Adrian
>>> 
>>> On 5/27/2010 8:57 AM, Ruth Hoffman wrote:
>>>> Hi Adrian:
>>>> 
>>>> I just downloaded the 9.04 release from the download site and these
>>>> lines are in the iCalRecurConverter.java source starting at line 124:
>>>> 
>>>> @Override
>>>> public void visit(Difference expr) {
>>>> VisitorState newState = new VisitorState();
>>>> newState.isIntersection = this.state.isIntersection;
>>>> this.stateStack.push(this.state);
>>>> this.state = newState;
>>>> expr.getIncluded().accept(this);
>>>> ...
>>>> 
>>>> Thanks.
>>>> Regards
>>>> Ruth
>>>> 
>>>> Adrian Crum wrote:
>>>>> Where are you getting that file from? Those annotations are not in
>>>>> 9.04.
>>>>> 
>>>>> -Adrian
>>>>> 
>>>>> On 5/27/2010 8:40 AM, Ruth Hoffman wrote:
>>>>>> Hi Adrian:
>>>>>> Here you go...a partial listing from recent 9.04
>>>>>> iCalRecurConverter.java
>>>>>> (with my comments) source:
>>>>>> 
>>>>>> // ----- TemporalExpressionVisitor Implementation ----- //
>>>>>> 
>>>>>> // @Override
>>>>>> public void visit(Difference expr) {
>>>>>> VisitorState newState = new VisitorState();
>>>>>> newState.isIntersection = this.state.isIntersection;
>>>>>> this.stateStack.push(this.state);
>>>>>> this.state = newState;
>>>>>> expr.getIncluded().accept(this);
>>>>>> newState.isExcluded = true;
>>>>>> expr.getExcluded().accept(this);
>>>>>> this.state = this.stateStack.pop();
>>>>>> if (this.state.isIntersection) {
>>>>>> this.state.inclRecurList.addAll(newState.inclRecurList);
>>>>>> this.state.exRecurList.addAll(newState.exRecurList);
>>>>>> }
>>>>>> }
>>>>>> 
>>>>>> @SuppressWarnings("unchecked")
>>>>>> // @Override
>>>>>> public void visit(HourRange expr) {
>>>>>> NumberList hourList = new NumberList();
>>>>>> hourList.addAll(expr.getHourRangeAsSet());
>>>>>> Recur recur = new Recur(Recur.HOURLY, 0);
>>>>>> recur.getHourList().addAll(hourList
>>>>>> ...
>>>>>> TIA
>>>>>> Ruth
>>>>>> Adrian Crum wrote:
>>>>>>> On 5/27/2010 4:18 AM, Ruth Hoffman wrote:
>>>>>>>> (Ended up just commenting out the offending lines in the code.)
>>>>>>> 
>>>>>>> I would be interested in seeing what those offending lines are.
>>>>>>> Like I
>>>>>>> said in my previous reply, there are no @Override annotations in the
>>>>>>> 9.04 version of that file.
>>>>>>> 
>>>>>>> -Adrian
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>> 
>> 


Re: How to I overcome this error?

Posted by Ruth Hoffman <rh...@aesolves.com>.
Hi Adrian:
Where do you think I got them from? Any suggestions would be greatly 
appreciated. I just downloaded that file, unzipped it and looked. What 
more can I tell you?
Regards,
Ruth

Adrian Crum wrote:
> It would be interesting to see if anyone else can find those 
> annotations in that download. I certainly can't.
>
> -Adrian
>
> On 5/27/2010 9:27 AM, Ruth Hoffman wrote:
>> Hi Adrian:
>> They may not be in SVN, but they certainly are in this download. I just
>> double checked:
>>
>> http://apache.multihomed.net/ofbiz/apache-ofbiz-09.04.zip
>>
>> Regards,
>> Ruth
>>
>> Adrian Crum wrote
>>> I checked the 9.04 release zip file and the repository - those
>>> annotations do not exist in 9.04. They were removed last March - so
>>> maybe you are using an old download. At any rate, the problem doesn't
>>> exist in current code.
>>>
>>> -Adrian
>>>
>>> On 5/27/2010 8:57 AM, Ruth Hoffman wrote:
>>>> Hi Adrian:
>>>>
>>>> I just downloaded the 9.04 release from the download site and these
>>>> lines are in the iCalRecurConverter.java source starting at line 124:
>>>>
>>>> @Override
>>>> public void visit(Difference expr) {
>>>> VisitorState newState = new VisitorState();
>>>> newState.isIntersection = this.state.isIntersection;
>>>> this.stateStack.push(this.state);
>>>> this.state = newState;
>>>> expr.getIncluded().accept(this);
>>>> ...
>>>>
>>>> Thanks.
>>>> Regards
>>>> Ruth
>>>>
>>>> Adrian Crum wrote:
>>>>> Where are you getting that file from? Those annotations are not in
>>>>> 9.04.
>>>>>
>>>>> -Adrian
>>>>>
>>>>> On 5/27/2010 8:40 AM, Ruth Hoffman wrote:
>>>>>> Hi Adrian:
>>>>>> Here you go...a partial listing from recent 9.04
>>>>>> iCalRecurConverter.java
>>>>>> (with my comments) source:
>>>>>>
>>>>>> // ----- TemporalExpressionVisitor Implementation ----- //
>>>>>>
>>>>>> // @Override
>>>>>> public void visit(Difference expr) {
>>>>>> VisitorState newState = new VisitorState();
>>>>>> newState.isIntersection = this.state.isIntersection;
>>>>>> this.stateStack.push(this.state);
>>>>>> this.state = newState;
>>>>>> expr.getIncluded().accept(this);
>>>>>> newState.isExcluded = true;
>>>>>> expr.getExcluded().accept(this);
>>>>>> this.state = this.stateStack.pop();
>>>>>> if (this.state.isIntersection) {
>>>>>> this.state.inclRecurList.addAll(newState.inclRecurList);
>>>>>> this.state.exRecurList.addAll(newState.exRecurList);
>>>>>> }
>>>>>> }
>>>>>>
>>>>>> @SuppressWarnings("unchecked")
>>>>>> // @Override
>>>>>> public void visit(HourRange expr) {
>>>>>> NumberList hourList = new NumberList();
>>>>>> hourList.addAll(expr.getHourRangeAsSet());
>>>>>> Recur recur = new Recur(Recur.HOURLY, 0);
>>>>>> recur.getHourList().addAll(hourList
>>>>>> ...
>>>>>> TIA
>>>>>> Ruth
>>>>>> Adrian Crum wrote:
>>>>>>> On 5/27/2010 4:18 AM, Ruth Hoffman wrote:
>>>>>>>> (Ended up just commenting out the offending lines in the code.)
>>>>>>>
>>>>>>> I would be interested in seeing what those offending lines are.
>>>>>>> Like I
>>>>>>> said in my previous reply, there are no @Override annotations in 
>>>>>>> the
>>>>>>> 9.04 version of that file.
>>>>>>>
>>>>>>> -Adrian
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>

Re: How to I overcome this error?

Posted by Adrian Crum <ad...@hlmksw.com>.
It would be interesting to see if anyone else can find those annotations 
in that download. I certainly can't.

-Adrian

On 5/27/2010 9:27 AM, Ruth Hoffman wrote:
> Hi Adrian:
> They may not be in SVN, but they certainly are in this download. I just
> double checked:
>
> http://apache.multihomed.net/ofbiz/apache-ofbiz-09.04.zip
>
> Regards,
> Ruth
>
> Adrian Crum wrote
>> I checked the 9.04 release zip file and the repository - those
>> annotations do not exist in 9.04. They were removed last March - so
>> maybe you are using an old download. At any rate, the problem doesn't
>> exist in current code.
>>
>> -Adrian
>>
>> On 5/27/2010 8:57 AM, Ruth Hoffman wrote:
>>> Hi Adrian:
>>>
>>> I just downloaded the 9.04 release from the download site and these
>>> lines are in the iCalRecurConverter.java source starting at line 124:
>>>
>>> @Override
>>> public void visit(Difference expr) {
>>> VisitorState newState = new VisitorState();
>>> newState.isIntersection = this.state.isIntersection;
>>> this.stateStack.push(this.state);
>>> this.state = newState;
>>> expr.getIncluded().accept(this);
>>> ...
>>>
>>> Thanks.
>>> Regards
>>> Ruth
>>>
>>> Adrian Crum wrote:
>>>> Where are you getting that file from? Those annotations are not in
>>>> 9.04.
>>>>
>>>> -Adrian
>>>>
>>>> On 5/27/2010 8:40 AM, Ruth Hoffman wrote:
>>>>> Hi Adrian:
>>>>> Here you go...a partial listing from recent 9.04
>>>>> iCalRecurConverter.java
>>>>> (with my comments) source:
>>>>>
>>>>> // ----- TemporalExpressionVisitor Implementation ----- //
>>>>>
>>>>> // @Override
>>>>> public void visit(Difference expr) {
>>>>> VisitorState newState = new VisitorState();
>>>>> newState.isIntersection = this.state.isIntersection;
>>>>> this.stateStack.push(this.state);
>>>>> this.state = newState;
>>>>> expr.getIncluded().accept(this);
>>>>> newState.isExcluded = true;
>>>>> expr.getExcluded().accept(this);
>>>>> this.state = this.stateStack.pop();
>>>>> if (this.state.isIntersection) {
>>>>> this.state.inclRecurList.addAll(newState.inclRecurList);
>>>>> this.state.exRecurList.addAll(newState.exRecurList);
>>>>> }
>>>>> }
>>>>>
>>>>> @SuppressWarnings("unchecked")
>>>>> // @Override
>>>>> public void visit(HourRange expr) {
>>>>> NumberList hourList = new NumberList();
>>>>> hourList.addAll(expr.getHourRangeAsSet());
>>>>> Recur recur = new Recur(Recur.HOURLY, 0);
>>>>> recur.getHourList().addAll(hourList
>>>>> ...
>>>>> TIA
>>>>> Ruth
>>>>> Adrian Crum wrote:
>>>>>> On 5/27/2010 4:18 AM, Ruth Hoffman wrote:
>>>>>>> (Ended up just commenting out the offending lines in the code.)
>>>>>>
>>>>>> I would be interested in seeing what those offending lines are.
>>>>>> Like I
>>>>>> said in my previous reply, there are no @Override annotations in the
>>>>>> 9.04 version of that file.
>>>>>>
>>>>>> -Adrian
>>>>>>
>>>>>
>>>>
>>>
>>
>

Re: How to I overcome this error?

Posted by Ruth Hoffman <rh...@aesolves.com>.
Hi Jacques:
Maybe. FYI - this is the first one users are directed to and the one 
that is "recommended" by the download site.
Regards,
Ruth

Jacques Le Roux wrote:
> Maybe this mirror does not update frequently?
>
> Jacques
>
> From: "Ruth Hoffman" <rh...@aesolves.com>
>> Hi Adrian:
>> They may not be in SVN, but they certainly are in this download. I 
>> just double checked:
>>
>> http://apache.multihomed.net/ofbiz/apache-ofbiz-09.04.zip
>>
>> Regards,
>> Ruth
>>
>> Adrian Crum wrote
>>> I checked the 9.04 release zip file and the repository - those 
>>> annotations do not exist in 9.04. They were removed last March - so 
>>> maybe you are using an old download. At any rate, the problem 
>>> doesn't exist in current code.
>>>
>>> -Adrian
>>>
>>> On 5/27/2010 8:57 AM, Ruth Hoffman wrote:
>>>> Hi Adrian:
>>>>
>>>> I just downloaded the 9.04 release from the download site and these
>>>> lines are in the iCalRecurConverter.java source starting at line 124:
>>>>
>>>> @Override
>>>> public void visit(Difference expr) {
>>>> VisitorState newState = new VisitorState();
>>>> newState.isIntersection = this.state.isIntersection;
>>>> this.stateStack.push(this.state);
>>>> this.state = newState;
>>>> expr.getIncluded().accept(this);
>>>> ...
>>>>
>>>> Thanks.
>>>> Regards
>>>> Ruth
>>>>
>>>> Adrian Crum wrote:
>>>>> Where are you getting that file from? Those annotations are not in 
>>>>> 9.04.
>>>>>
>>>>> -Adrian
>>>>>
>>>>> On 5/27/2010 8:40 AM, Ruth Hoffman wrote:
>>>>>> Hi Adrian:
>>>>>> Here you go...a partial listing from recent 9.04 
>>>>>> iCalRecurConverter.java
>>>>>> (with my comments) source:
>>>>>>
>>>>>> // ----- TemporalExpressionVisitor Implementation ----- //
>>>>>>
>>>>>> // @Override
>>>>>> public void visit(Difference expr) {
>>>>>> VisitorState newState = new VisitorState();
>>>>>> newState.isIntersection = this.state.isIntersection;
>>>>>> this.stateStack.push(this.state);
>>>>>> this.state = newState;
>>>>>> expr.getIncluded().accept(this);
>>>>>> newState.isExcluded = true;
>>>>>> expr.getExcluded().accept(this);
>>>>>> this.state = this.stateStack.pop();
>>>>>> if (this.state.isIntersection) {
>>>>>> this.state.inclRecurList.addAll(newState.inclRecurList);
>>>>>> this.state.exRecurList.addAll(newState.exRecurList);
>>>>>> }
>>>>>> }
>>>>>>
>>>>>> @SuppressWarnings("unchecked")
>>>>>> // @Override
>>>>>> public void visit(HourRange expr) {
>>>>>> NumberList hourList = new NumberList();
>>>>>> hourList.addAll(expr.getHourRangeAsSet());
>>>>>> Recur recur = new Recur(Recur.HOURLY, 0);
>>>>>> recur.getHourList().addAll(hourList
>>>>>> ...
>>>>>> TIA
>>>>>> Ruth
>>>>>> Adrian Crum wrote:
>>>>>>> On 5/27/2010 4:18 AM, Ruth Hoffman wrote:
>>>>>>>> (Ended up just commenting out the offending lines in the code.)
>>>>>>>
>>>>>>> I would be interested in seeing what those offending lines are. 
>>>>>>> Like I
>>>>>>> said in my previous reply, there are no @Override annotations in 
>>>>>>> the
>>>>>>> 9.04 version of that file.
>>>>>>>
>>>>>>> -Adrian
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
>

Re: How to I overcome this error?

Posted by Jacques Le Roux <ja...@les7arts.com>.
Maybe this mirror does not update frequently?

Jacques

From: "Ruth Hoffman" <rh...@aesolves.com>
> Hi Adrian:
> They may not be in SVN, but they certainly are in this download. I just 
> double checked:
> 
> http://apache.multihomed.net/ofbiz/apache-ofbiz-09.04.zip
> 
> Regards,
> Ruth
> 
> Adrian Crum wrote
>> I checked the 9.04 release zip file and the repository - those 
>> annotations do not exist in 9.04. They were removed last March - so 
>> maybe you are using an old download. At any rate, the problem doesn't 
>> exist in current code.
>>
>> -Adrian
>>
>> On 5/27/2010 8:57 AM, Ruth Hoffman wrote:
>>> Hi Adrian:
>>>
>>> I just downloaded the 9.04 release from the download site and these
>>> lines are in the iCalRecurConverter.java source starting at line 124:
>>>
>>> @Override
>>> public void visit(Difference expr) {
>>> VisitorState newState = new VisitorState();
>>> newState.isIntersection = this.state.isIntersection;
>>> this.stateStack.push(this.state);
>>> this.state = newState;
>>> expr.getIncluded().accept(this);
>>> ...
>>>
>>> Thanks.
>>> Regards
>>> Ruth
>>>
>>> Adrian Crum wrote:
>>>> Where are you getting that file from? Those annotations are not in 
>>>> 9.04.
>>>>
>>>> -Adrian
>>>>
>>>> On 5/27/2010 8:40 AM, Ruth Hoffman wrote:
>>>>> Hi Adrian:
>>>>> Here you go...a partial listing from recent 9.04 
>>>>> iCalRecurConverter.java
>>>>> (with my comments) source:
>>>>>
>>>>> // ----- TemporalExpressionVisitor Implementation ----- //
>>>>>
>>>>> // @Override
>>>>> public void visit(Difference expr) {
>>>>> VisitorState newState = new VisitorState();
>>>>> newState.isIntersection = this.state.isIntersection;
>>>>> this.stateStack.push(this.state);
>>>>> this.state = newState;
>>>>> expr.getIncluded().accept(this);
>>>>> newState.isExcluded = true;
>>>>> expr.getExcluded().accept(this);
>>>>> this.state = this.stateStack.pop();
>>>>> if (this.state.isIntersection) {
>>>>> this.state.inclRecurList.addAll(newState.inclRecurList);
>>>>> this.state.exRecurList.addAll(newState.exRecurList);
>>>>> }
>>>>> }
>>>>>
>>>>> @SuppressWarnings("unchecked")
>>>>> // @Override
>>>>> public void visit(HourRange expr) {
>>>>> NumberList hourList = new NumberList();
>>>>> hourList.addAll(expr.getHourRangeAsSet());
>>>>> Recur recur = new Recur(Recur.HOURLY, 0);
>>>>> recur.getHourList().addAll(hourList
>>>>> ...
>>>>> TIA
>>>>> Ruth
>>>>> Adrian Crum wrote:
>>>>>> On 5/27/2010 4:18 AM, Ruth Hoffman wrote:
>>>>>>> (Ended up just commenting out the offending lines in the code.)
>>>>>>
>>>>>> I would be interested in seeing what those offending lines are. 
>>>>>> Like I
>>>>>> said in my previous reply, there are no @Override annotations in the
>>>>>> 9.04 version of that file.
>>>>>>
>>>>>> -Adrian
>>>>>>
>>>>>
>>>>
>>>
>>
>


Re: How to I overcome this error?

Posted by Ruth Hoffman <rh...@aesolves.com>.
Hi Adrian:
They may not be in SVN, but they certainly are in this download. I just 
double checked:

http://apache.multihomed.net/ofbiz/apache-ofbiz-09.04.zip

Regards,
Ruth

Adrian Crum wrote
> I checked the 9.04 release zip file and the repository - those 
> annotations do not exist in 9.04. They were removed last March - so 
> maybe you are using an old download. At any rate, the problem doesn't 
> exist in current code.
>
> -Adrian
>
> On 5/27/2010 8:57 AM, Ruth Hoffman wrote:
>> Hi Adrian:
>>
>> I just downloaded the 9.04 release from the download site and these
>> lines are in the iCalRecurConverter.java source starting at line 124:
>>
>> @Override
>> public void visit(Difference expr) {
>> VisitorState newState = new VisitorState();
>> newState.isIntersection = this.state.isIntersection;
>> this.stateStack.push(this.state);
>> this.state = newState;
>> expr.getIncluded().accept(this);
>> ...
>>
>> Thanks.
>> Regards
>> Ruth
>>
>> Adrian Crum wrote:
>>> Where are you getting that file from? Those annotations are not in 
>>> 9.04.
>>>
>>> -Adrian
>>>
>>> On 5/27/2010 8:40 AM, Ruth Hoffman wrote:
>>>> Hi Adrian:
>>>> Here you go...a partial listing from recent 9.04 
>>>> iCalRecurConverter.java
>>>> (with my comments) source:
>>>>
>>>> // ----- TemporalExpressionVisitor Implementation ----- //
>>>>
>>>> // @Override
>>>> public void visit(Difference expr) {
>>>> VisitorState newState = new VisitorState();
>>>> newState.isIntersection = this.state.isIntersection;
>>>> this.stateStack.push(this.state);
>>>> this.state = newState;
>>>> expr.getIncluded().accept(this);
>>>> newState.isExcluded = true;
>>>> expr.getExcluded().accept(this);
>>>> this.state = this.stateStack.pop();
>>>> if (this.state.isIntersection) {
>>>> this.state.inclRecurList.addAll(newState.inclRecurList);
>>>> this.state.exRecurList.addAll(newState.exRecurList);
>>>> }
>>>> }
>>>>
>>>> @SuppressWarnings("unchecked")
>>>> // @Override
>>>> public void visit(HourRange expr) {
>>>> NumberList hourList = new NumberList();
>>>> hourList.addAll(expr.getHourRangeAsSet());
>>>> Recur recur = new Recur(Recur.HOURLY, 0);
>>>> recur.getHourList().addAll(hourList
>>>> ...
>>>> TIA
>>>> Ruth
>>>> Adrian Crum wrote:
>>>>> On 5/27/2010 4:18 AM, Ruth Hoffman wrote:
>>>>>> (Ended up just commenting out the offending lines in the code.)
>>>>>
>>>>> I would be interested in seeing what those offending lines are. 
>>>>> Like I
>>>>> said in my previous reply, there are no @Override annotations in the
>>>>> 9.04 version of that file.
>>>>>
>>>>> -Adrian
>>>>>
>>>>
>>>
>>
>

Re: How to I overcome this error?

Posted by Adrian Crum <ad...@hlmksw.com>.
I checked the 9.04 release zip file and the repository - those 
annotations do not exist in 9.04. They were removed last March - so 
maybe you are using an old download. At any rate, the problem doesn't 
exist in current code.

-Adrian

On 5/27/2010 8:57 AM, Ruth Hoffman wrote:
> Hi Adrian:
>
> I just downloaded the 9.04 release from the download site and these
> lines are in the iCalRecurConverter.java source starting at line 124:
>
> @Override
> public void visit(Difference expr) {
> VisitorState newState = new VisitorState();
> newState.isIntersection = this.state.isIntersection;
> this.stateStack.push(this.state);
> this.state = newState;
> expr.getIncluded().accept(this);
> ...
>
> Thanks.
> Regards
> Ruth
>
> Adrian Crum wrote:
>> Where are you getting that file from? Those annotations are not in 9.04.
>>
>> -Adrian
>>
>> On 5/27/2010 8:40 AM, Ruth Hoffman wrote:
>>> Hi Adrian:
>>> Here you go...a partial listing from recent 9.04 iCalRecurConverter.java
>>> (with my comments) source:
>>>
>>> // ----- TemporalExpressionVisitor Implementation ----- //
>>>
>>> // @Override
>>> public void visit(Difference expr) {
>>> VisitorState newState = new VisitorState();
>>> newState.isIntersection = this.state.isIntersection;
>>> this.stateStack.push(this.state);
>>> this.state = newState;
>>> expr.getIncluded().accept(this);
>>> newState.isExcluded = true;
>>> expr.getExcluded().accept(this);
>>> this.state = this.stateStack.pop();
>>> if (this.state.isIntersection) {
>>> this.state.inclRecurList.addAll(newState.inclRecurList);
>>> this.state.exRecurList.addAll(newState.exRecurList);
>>> }
>>> }
>>>
>>> @SuppressWarnings("unchecked")
>>> // @Override
>>> public void visit(HourRange expr) {
>>> NumberList hourList = new NumberList();
>>> hourList.addAll(expr.getHourRangeAsSet());
>>> Recur recur = new Recur(Recur.HOURLY, 0);
>>> recur.getHourList().addAll(hourList
>>> ...
>>> TIA
>>> Ruth
>>> Adrian Crum wrote:
>>>> On 5/27/2010 4:18 AM, Ruth Hoffman wrote:
>>>>> (Ended up just commenting out the offending lines in the code.)
>>>>
>>>> I would be interested in seeing what those offending lines are. Like I
>>>> said in my previous reply, there are no @Override annotations in the
>>>> 9.04 version of that file.
>>>>
>>>> -Adrian
>>>>
>>>
>>
>

Re: How to I overcome this error?

Posted by Ruth Hoffman <rh...@aesolves.com>.
Hi Adrian:

I just downloaded the 9.04 release from the download site and these 
lines are in the iCalRecurConverter.java source starting at line 124:

 @Override
    public void visit(Difference expr) {
        VisitorState newState = new VisitorState();
        newState.isIntersection = this.state.isIntersection;
        this.stateStack.push(this.state);
        this.state = newState;
        expr.getIncluded().accept(this);
...

Thanks.
Regards
Ruth

Adrian Crum wrote:
> Where are you getting that file from? Those annotations are not in 9.04.
>
> -Adrian
>
> On 5/27/2010 8:40 AM, Ruth Hoffman wrote:
>> Hi Adrian:
>> Here you go...a partial listing from recent 9.04 iCalRecurConverter.java
>> (with my comments) source:
>>
>> // ----- TemporalExpressionVisitor Implementation ----- //
>>
>> // @Override
>> public void visit(Difference expr) {
>> VisitorState newState = new VisitorState();
>> newState.isIntersection = this.state.isIntersection;
>> this.stateStack.push(this.state);
>> this.state = newState;
>> expr.getIncluded().accept(this);
>> newState.isExcluded = true;
>> expr.getExcluded().accept(this);
>> this.state = this.stateStack.pop();
>> if (this.state.isIntersection) {
>> this.state.inclRecurList.addAll(newState.inclRecurList);
>> this.state.exRecurList.addAll(newState.exRecurList);
>> }
>> }
>>
>> @SuppressWarnings("unchecked")
>> // @Override
>> public void visit(HourRange expr) {
>> NumberList hourList = new NumberList();
>> hourList.addAll(expr.getHourRangeAsSet());
>> Recur recur = new Recur(Recur.HOURLY, 0);
>> recur.getHourList().addAll(hourList
>> ...
>> TIA
>> Ruth
>> Adrian Crum wrote:
>>> On 5/27/2010 4:18 AM, Ruth Hoffman wrote:
>>>> (Ended up just commenting out the offending lines in the code.)
>>>
>>> I would be interested in seeing what those offending lines are. Like I
>>> said in my previous reply, there are no @Override annotations in the
>>> 9.04 version of that file.
>>>
>>> -Adrian
>>>
>>
>

Re: How to I overcome this error?

Posted by Adrian Crum <ad...@hlmksw.com>.
Where are you getting that file from? Those annotations are not in 9.04.

-Adrian

On 5/27/2010 8:40 AM, Ruth Hoffman wrote:
> Hi Adrian:
> Here you go...a partial listing from recent 9.04 iCalRecurConverter.java
> (with my comments) source:
>
> // ----- TemporalExpressionVisitor Implementation ----- //
>
> // @Override
> public void visit(Difference expr) {
> VisitorState newState = new VisitorState();
> newState.isIntersection = this.state.isIntersection;
> this.stateStack.push(this.state);
> this.state = newState;
> expr.getIncluded().accept(this);
> newState.isExcluded = true;
> expr.getExcluded().accept(this);
> this.state = this.stateStack.pop();
> if (this.state.isIntersection) {
> this.state.inclRecurList.addAll(newState.inclRecurList);
> this.state.exRecurList.addAll(newState.exRecurList);
> }
> }
>
> @SuppressWarnings("unchecked")
> // @Override
> public void visit(HourRange expr) {
> NumberList hourList = new NumberList();
> hourList.addAll(expr.getHourRangeAsSet());
> Recur recur = new Recur(Recur.HOURLY, 0);
> recur.getHourList().addAll(hourList
> ...
> TIA
> Ruth
> Adrian Crum wrote:
>> On 5/27/2010 4:18 AM, Ruth Hoffman wrote:
>>> (Ended up just commenting out the offending lines in the code.)
>>
>> I would be interested in seeing what those offending lines are. Like I
>> said in my previous reply, there are no @Override annotations in the
>> 9.04 version of that file.
>>
>> -Adrian
>>
>

Re: How to I overcome this error?

Posted by Ruth Hoffman <rh...@aesolves.com>.
Hi Adrian:
Here you go...a partial listing from recent 9.04 iCalRecurConverter.java 
(with my comments) source:

 // ----- TemporalExpressionVisitor Implementation ----- //

    // @Override
    public void visit(Difference expr) {
        VisitorState newState = new VisitorState();
        newState.isIntersection = this.state.isIntersection;
        this.stateStack.push(this.state);
        this.state = newState;
        expr.getIncluded().accept(this);
        newState.isExcluded = true;
        expr.getExcluded().accept(this);
        this.state = this.stateStack.pop();
        if (this.state.isIntersection) {
            this.state.inclRecurList.addAll(newState.inclRecurList);
            this.state.exRecurList.addAll(newState.exRecurList);
        }
    }

    @SuppressWarnings("unchecked")
    // @Override
    public void visit(HourRange expr) {
        NumberList hourList = new NumberList();
        hourList.addAll(expr.getHourRangeAsSet());
        Recur recur = new Recur(Recur.HOURLY, 0);
        recur.getHourList().addAll(hourList
...
TIA
Ruth
Adrian Crum wrote:
> On 5/27/2010 4:18 AM, Ruth Hoffman wrote:
>> (Ended up just commenting out the offending lines in the code.)
>
> I would be interested in seeing what those offending lines are. Like I 
> said in my previous reply, there are no @Override annotations in the 
> 9.04 version of that file.
>
> -Adrian
>

Re: How to I overcome this error?

Posted by Adrian Crum <ad...@hlmksw.com>.
On 5/27/2010 4:18 AM, Ruth Hoffman wrote:
> (Ended up just commenting out the offending lines in the code.)

I would be interested in seeing what those offending lines are. Like I 
said in my previous reply, there are no @Override annotations in the 
9.04 version of that file.

-Adrian

Re: How to I overcome this error?

Posted by Ruth Hoffman <rh...@aesolves.com>.
Hi Adrian:
The first time I ran ant clean/run-install against the download it 
worked fine. Second and subsequent times I get this error. Tried 
downloading again and same thing - first time it works. 2nd and 
subsequent times it fails. Probably is the environment, but I haven't a 
clue where to look.

(Ended up just commenting out the offending lines in the code.)

Regards,
Ruth

Adrian Crum wrote:
> I spoke too soon:
>
> R9.04 ICalRecurConverter.java:298
>
> does not point to an override annotation. I ran ant clean and ant run-install using JDK 1.5 and everything worked fine. Double-check your installation.
>
> -Adrian
>
> --- On Wed, 5/26/10, Adrian Crum <ad...@yahoo.com> wrote:
>
>   
>> From: Adrian Crum <ad...@yahoo.com>
>> Subject: Re: How to I overcome this error?
>> To: user@ofbiz.apache.org
>> Date: Wednesday, May 26, 2010, 10:55 PM
>> Actually, this error is due to an
>> undocumented change to the compiler. I will look into it.
>>
>> -Adrian
>>
>> --- On Wed, 5/26/10, Scott Gray <sc...@hotwaxmedia.com>
>> wrote:
>>
>>     
>>> From: Scott Gray <sc...@hotwaxmedia.com>
>>> Subject: Re: How to I overcome this error?
>>> To: user@ofbiz.apache.org
>>> Date: Wednesday, May 26, 2010, 10:04 PM
>>> Hi Ruth,
>>>
>>> Sounds like some code got back ported to 9.04 that
>>>       
>> wasn't
>>     
>>> compatible with java 1.5.  Your options are to
>>>       
>> either:
>>     
>>> - use java 1.6
>>> - create a jira issue and either fix it or hope
>>>       
>> someone
>>     
>>> else does
>>> - find out who committed the code and pester them to
>>>       
>> fix
>>     
>>> it
>>>
>>> Regards
>>> Scott
>>>
>>> HotWax Media
>>> http://www.hotwaxmedia.com
>>>
>>> On 27/05/2010, at 2:14 PM, Ruth Hoffman wrote:
>>>
>>>       
>>>> Hi All:
>>>> Running ant run-install on the current stable
>>>>         
>> 9.04
>>     
>>> release I just downloaded causes this problem:
>>>       
>>>>         
>> /Users/ruthhoffman/ofbiz-release9.04_May2010/build.xml:151:
>>     
>>> The following error occurred while executing this
>>>       
>> line:
>>     
>> /Users/ruthhoffman/ofbiz-release9.04_May2010/applications/build.xml:67:
>>     
>>> The following error occurred while executing this
>>>       
>> line:
>>     
>> /Users/ruthhoffman/ofbiz-release9.04_May2010/macros.xml:27:
>>     
>>> The following error occurred while executing this
>>>       
>> line:
>>     
>> /Users/ruthhoffman/ofbiz-release9.04_May2010/applications/workeffort/build.xml:55:
>>     
>>> Compile failed; see the compiler error output for
>>>       
>> details.
>>     
>>>> Compile error:
>>>>
>>>> [javac15]
>>>>         
>> /Users/ruthhoffman/ofbiz-release9.04_May2010/applications/workeffort/src/org/ofbiz/workeffort/workeffort/ICalRecurConverter.java:298:
>>     
>>> method does not override a method from its superclass
>>>       
>>>> [javac15]     @Override
>>>>
>>>> ... 13 times over..
>>>>
>>>>
>>>> Any way to get past this?
>>>>
>>>> TIA
>>>> Ruth
>>>>
>>>>         
>>>       
>>
>>
>>     
>
>
>       
>
>   

Re: How to I overcome this error?

Posted by Adrian Crum <ad...@yahoo.com>.
I spoke too soon:

R9.04 ICalRecurConverter.java:298

does not point to an override annotation. I ran ant clean and ant run-install using JDK 1.5 and everything worked fine. Double-check your installation.

-Adrian

--- On Wed, 5/26/10, Adrian Crum <ad...@yahoo.com> wrote:

> From: Adrian Crum <ad...@yahoo.com>
> Subject: Re: How to I overcome this error?
> To: user@ofbiz.apache.org
> Date: Wednesday, May 26, 2010, 10:55 PM
> Actually, this error is due to an
> undocumented change to the compiler. I will look into it.
> 
> -Adrian
> 
> --- On Wed, 5/26/10, Scott Gray <sc...@hotwaxmedia.com>
> wrote:
> 
> > From: Scott Gray <sc...@hotwaxmedia.com>
> > Subject: Re: How to I overcome this error?
> > To: user@ofbiz.apache.org
> > Date: Wednesday, May 26, 2010, 10:04 PM
> > Hi Ruth,
> > 
> > Sounds like some code got back ported to 9.04 that
> wasn't
> > compatible with java 1.5.  Your options are to
> either:
> > - use java 1.6
> > - create a jira issue and either fix it or hope
> someone
> > else does
> > - find out who committed the code and pester them to
> fix
> > it
> > 
> > Regards
> > Scott
> > 
> > HotWax Media
> > http://www.hotwaxmedia.com
> > 
> > On 27/05/2010, at 2:14 PM, Ruth Hoffman wrote:
> > 
> > > Hi All:
> > > Running ant run-install on the current stable
> 9.04
> > release I just downloaded causes this problem:
> > > 
> > >
> >
> /Users/ruthhoffman/ofbiz-release9.04_May2010/build.xml:151:
> > The following error occurred while executing this
> line:
> > >
> >
> /Users/ruthhoffman/ofbiz-release9.04_May2010/applications/build.xml:67:
> > The following error occurred while executing this
> line:
> > >
> >
> /Users/ruthhoffman/ofbiz-release9.04_May2010/macros.xml:27:
> > The following error occurred while executing this
> line:
> > >
> >
> /Users/ruthhoffman/ofbiz-release9.04_May2010/applications/workeffort/build.xml:55:
> > Compile failed; see the compiler error output for
> details.
> > > 
> > > Compile error:
> > > 
> > > [javac15]
> >
> /Users/ruthhoffman/ofbiz-release9.04_May2010/applications/workeffort/src/org/ofbiz/workeffort/workeffort/ICalRecurConverter.java:298:
> > method does not override a method from its superclass
> > > [javac15]     @Override
> > > 
> > > ... 13 times over..
> > > 
> > > 
> > > Any way to get past this?
> > > 
> > > TIA
> > > Ruth
> > > 
> > 
> > 
> 
> 
> 
> 


      

Re: How to I overcome this error?

Posted by Adrian Crum <ad...@yahoo.com>.
Actually, this error is due to an undocumented change to the compiler. I will look into it.

-Adrian

--- On Wed, 5/26/10, Scott Gray <sc...@hotwaxmedia.com> wrote:

> From: Scott Gray <sc...@hotwaxmedia.com>
> Subject: Re: How to I overcome this error?
> To: user@ofbiz.apache.org
> Date: Wednesday, May 26, 2010, 10:04 PM
> Hi Ruth,
> 
> Sounds like some code got back ported to 9.04 that wasn't
> compatible with java 1.5.  Your options are to either:
> - use java 1.6
> - create a jira issue and either fix it or hope someone
> else does
> - find out who committed the code and pester them to fix
> it
> 
> Regards
> Scott
> 
> HotWax Media
> http://www.hotwaxmedia.com
> 
> On 27/05/2010, at 2:14 PM, Ruth Hoffman wrote:
> 
> > Hi All:
> > Running ant run-install on the current stable 9.04
> release I just downloaded causes this problem:
> > 
> >
> /Users/ruthhoffman/ofbiz-release9.04_May2010/build.xml:151:
> The following error occurred while executing this line:
> >
> /Users/ruthhoffman/ofbiz-release9.04_May2010/applications/build.xml:67:
> The following error occurred while executing this line:
> >
> /Users/ruthhoffman/ofbiz-release9.04_May2010/macros.xml:27:
> The following error occurred while executing this line:
> >
> /Users/ruthhoffman/ofbiz-release9.04_May2010/applications/workeffort/build.xml:55:
> Compile failed; see the compiler error output for details.
> > 
> > Compile error:
> > 
> > [javac15]
> /Users/ruthhoffman/ofbiz-release9.04_May2010/applications/workeffort/src/org/ofbiz/workeffort/workeffort/ICalRecurConverter.java:298:
> method does not override a method from its superclass
> > [javac15]     @Override
> > 
> > ... 13 times over..
> > 
> > 
> > Any way to get past this?
> > 
> > TIA
> > Ruth
> > 
> 
> 


      

Re: How to I overcome this error?

Posted by Scott Gray <sc...@hotwaxmedia.com>.
Hi Ruth,

Sounds like some code got back ported to 9.04 that wasn't compatible with java 1.5.  Your options are to either:
- use java 1.6
- create a jira issue and either fix it or hope someone else does
- find out who committed the code and pester them to fix it

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 27/05/2010, at 2:14 PM, Ruth Hoffman wrote:

> Hi All:
> Running ant run-install on the current stable 9.04 release I just downloaded causes this problem:
> 
> /Users/ruthhoffman/ofbiz-release9.04_May2010/build.xml:151: The following error occurred while executing this line:
> /Users/ruthhoffman/ofbiz-release9.04_May2010/applications/build.xml:67: The following error occurred while executing this line:
> /Users/ruthhoffman/ofbiz-release9.04_May2010/macros.xml:27: The following error occurred while executing this line:
> /Users/ruthhoffman/ofbiz-release9.04_May2010/applications/workeffort/build.xml:55: Compile failed; see the compiler error output for details.
> 
> Compile error:
> 
> [javac15] /Users/ruthhoffman/ofbiz-release9.04_May2010/applications/workeffort/src/org/ofbiz/workeffort/workeffort/ICalRecurConverter.java:298: method does not override a method from its superclass
> [javac15]     @Override
> 
> ... 13 times over..
> 
> 
> Any way to get past this?
> 
> TIA
> Ruth
>