cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: JDK 1.3 vs JDK 1.4 issue
Date Wed, 17 Apr 2002 13:08:27 GMT

Torsten Curdt wrote:
>
> > The main problem I have is that I cannot combile Cocoon without the Ant
> > script because of the special tags in the EsqlConnection.java.
> > And this is bad (at least for me).
>
> true... if you don't have ant integrated in you IDE this sucks...
>
Definitly!

> so... what to do?
Very good question! I don't want to have two source trees (one for JDK 1.3
and
one for JDK 1.4).

I think a quick solution is to change the tags used in the source. What do
you think of:

/* @JDBC3_START@
  JDK 1.4 extra code
@JDBC3_END@ */

- the class is always compilable (with JDK 1.3)
- ant replaces the tags with "" on JDK 1.3
- ant replaces the tags with */ and /* on JDK 1.4

Carsten


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message