[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Specifying java files encoding through javatools



On Tue Oct 04 16:38, Cédric Pineau wrote:
>  I'm trying to package Ejs (http://fem.um.es/Ejs/) and learn the process and
> tools to use on the way.
> 
>  - I downloaded the source package, unzip and rename to ejs-4.3.4
>  - I used jh_makepkg to build the debian files skeleton (with debian/rules
> like : '%: dh --with javahelper $@")
>  - I will have to adjust those files, for dependencies at least, and then
> invoke debian/rules build to get a .deb file (am i right ?)

well, dpkg-buildpackage is better than invoking debian/rules directly. You'll
have to tweak several of the files under debian/, including certainly
changelog, copyright and control, probably also including sommme install files.

>  My blocking problem is I don't see where/how to specify source files are in
> ISO-8859-1

I thought Java files were always utf8?

>  Also am I on the good path ? Is it better to use jh when possible (Ejs
> seems to be easy, plain java, no code generation, etc), or should I go for a
> ant or maven build file immediately (where encoding is easy to handle..)

Well, it should be easy to do with jh_build, but there's nothing stopping you
writing a build.xml for ant - dh7 should pick that up automatically too.
Regardless, you should use the rest of javahelper.

Matt

Attachment: signature.asc
Description: Digital signature


Reply to: