Paloma Gomez wrote:
> Hi all,
> 
> I have a problem with the build process configuration.
> 
> When I run ./build.sh I get:
> 
> [...]
> Building with Apache Ant version 1.6.5 compiled on June 2 2005 and
> Java version 1.5
> 
> [...]
> generics are not supported in -source 1.4 (try -source 1.5 to enable
> generics)
>    private HashMap <String,Vector<String>> list;

hmm. a quick grep through my tree does not reveal this line. are you
sure it's not somewhere in your custom code?

regarding the java version: you can have java 1.5 installed and active,
and still make it produce java 1.4 code or accept 1.4 sources. in your
case, you seem to have a flag that sets the source to 1.4 (i.e. you
force your java 1.5 compiler to behave as if it were a 1.4), and IIUC
constructs like those in the error message are not supported in that
version.

in case your distribution introduces weird compilation options, try
./build.sh --noconfig (this overrides any local ant configuration you
might have, and is necessary to compile lenya on suse systems).

disclaimer: this is a shot in the dark....

hth,

jörn



-- 
"I don't need backups. I need restore!" - Trad.

--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: [EMAIL PROTECTED], Telefon: 0203/379-2736


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to