[opencms-dev] Build of oc 5.0 beta 2 fails - how to exclude oracle support?

Alexander Kandzior alex at opencms.org
Tue Nov 19 16:29:01 CET 2002


Thorsten,

thank you for the and 1.5 patch. 

The oracle import in com/opencms/flex/util/CmsLruHashMap.java actually
is a bug since it is unused. It will be removed in the next relase/beta
version. 

Best Regards,
Alex.

Alexander Kandzior
OpenCms Group / Alkacon Software


> ---------------------
> In opencms/bulid.xml, line 50:
> change from
>     <property name="build.excludes"          value=""/>
> to
>     <property name="build.tmpexcludes"          value=""/>
> 
> In opencms/bulid.xml, line 69:
> change from
>         <condition property="build.excludes" 
> value="${build.excludes}, ${ex.oracle}"> to
>         <condition property="build.excludes" 
> value="${build.tmpexcludes}, ${ex.oracle}">
> 
> In opencms/src/com/opencms/flex/util/CmsLruHashMap.java, line 
> 33: outcomment this line:
>         //import oracle.net.ano.SupervisorService;
> ---------------------
> 
> It seems that in ant 1.5.1 it is not possible to "overwrite" 
> propertys in <condition> tasks.
> 
> oc will compile with these changes, but please be aware that 
> i did not test it until now. (I don't know wether the loss of 
> oracle in flex is doing any
> harmfull.)
> 
> Regards,
> Thorsten
> 
> 
> -----------------------------------------------------------------
>  Thorsten Günther
> 
>   synaix
>   Gesellschaft fuer angewandte Informations-Technologien mbH
>   Im Suesterfeld 1
>   52072 Aachen, Deutschland
>   Amtsgericht Aachen HRB5670, GF Stefan Fritz, Michael Benden
> 
>   Mailto:tguenther at synaix.de
>   http://www.synaix.de
>   Tel +49 241 41 30-154  Fax +49 241 41 30-480
> -----------------------------------------------------------------
> 
> 
> |---------+--------------------------------->
> |         |           "Alexander Kandzior"  |
> |         |           <alex at opencms.org>    |
> |         |           Gesendet von:         |
> |         |           owner-opencms-dev at www.|
> |         |           opencms.org           |
> |         |                                 |
> |         |                                 |
> |         |           19.11.2002 12:17      |
> |         |           Bitte antworten an    |
> |         |           opencms-dev           |
> |         |                                 |
> |---------+--------------------------------->
>   
> >-------------------------------------------------------------
> --------------------------------------------------------------
> -----------------|
>   |                                                           
>                                                               
>                    |
>   |        An:      <opencms-dev at www.opencms.org>             
>                                                               
>                    |
>   |        Kopie:   (Blindkopie: Thorsten Guenther/ac/synaix) 
>                                                               
>                    |
>   |        Thema:   RE: [opencms-dev] Build of oc 5.0 beta 2 
> fails - how to exclude oracle support?                        
>                     |
>   
> >-------------------------------------------------------------
> --------------------------------------------------------------
> -----------------|
> 
> 
> 
> Thorsten,
> 
> you are probably using Ant 1.5. Use Ant 1.4 and it will 
> ignore the missing Oracle stuff.
> 
> Better yet, have a look in the build.xml around the following lines:
> 
>         <condition property="build.excludes" 
> value="${build.excludes},${ex.oracle}">
>             <not><available file="${build.inputlib.oracle}"/></not>
>         </condition>
> 
> and change this so that it works with Ant 1.5.
> Don't forget to post your changes here on the list ;-)
> 
> Best Regards,
> Alex.
> 
> Alexander Kandzior
> OpenCms Group / Alkacon Software
> 
> > -----Original Message-----
> > From: owner-opencms-dev at www.opencms.org 
> > [mailto:owner-opencms-dev at www.opencms.org] On Behalf Of Thorsten 
> > Guenther
> > Sent: Tuesday, November 19, 2002 11:06 AM
> > To: opencms-dev at opencms.com
> > Subject: [opencms-dev] Build of oc 5.0 beta 2 fails - how 
> to exclude 
> > oracle support?
> >
> >
> > Hi!
> >
> > I'm trying to build oc 5.0 beta 2 from the sources, but 
> after a lot of 
> > complains about missing package "oracle.sql", ant stops 
> compilation. I 
> > don't need oracle support. How to get rid of it?
> >
> > thanx in advance!
> >
> >
> > Thorsten
> >
> > -----------------------------------------------------------------
> >  Thorsten Günther
> >
> >   synaix
> >   Gesellschaft fuer angewandte Informations-Technologien mbH
> >   Im Suesterfeld 1
> >   52072 Aachen, Deutschland
> >   Amtsgericht Aachen HRB5670, GF Stefan Fritz, Michael Benden
> >
>   Mailto:tguenther at synaix.de
>   http://www.synaix.de
>   Tel +49 241 41 30-154  Fax +49 241 41 30-480
> -----------------------------------------------------------------
> 
> 
> 
> 
> 
> 
> 
> 





More information about the opencms-dev mailing list