Skip to main content

Ant tasks

7 replies [Last post]
ak1394
Offline
Joined: 2009-08-07
Points: 0

I feel there should be better documentation for an Ant tasks, current one is outdated and spread around javadocs.

For instance, the font task that has changed in 1.2.1 removing support for src="font.ttf", this change is nowere to find, and the javadocs for Font class still mention it.

What's worse, the task itself now silently ignores this attribute and does not produce bitmap font. However, there is no error message produced of any sort.

Also, is there any chance opensourcing at least Ant tasks?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vprise
Offline
Joined: 2003-11-07
Points: 0

Relatively to most OSS projects I think our docs are pretty reasonable... Especially considering the fast pace of change here (the project is not that new but it is evolving rapidly).
The Ant task was rewritten from scratch for 1.2.x so obviously there were holes in the new docs. We would be very happy if community members would step up and contribute information in this regard... However, notice that you can google most issues you experience in LWUIT to find an answer very easily.

BTW our developer guide has over 100 pages and we added quite a bit for 1.3, there is also a 3rd party LWUIT book already published and widely reviewed.

ak1394
Offline
Joined: 2009-08-07
Points: 0

Fair enough. BTW, does becoming any sort of contributor requires signing and faxing that doc?

vprise
Offline
Joined: 2003-11-07
Points: 0

You can scan and email a signed SCA to lwuit at sun dot com. This is required for all contributions, docs as well.

David Lucena

--- El vie, 30/10/09, lwuit-users@mobileandembedded.org escribió:

> De: lwuit-users@mobileandembedded.org
> Asunto: Ant tasks
> Para: users@lwuit.dev.java.net
> Fecha: viernes, 30 octubre, 2009 12:34
> I feel there should be better
> documentation for an Ant tasks, current one is outdated and
> spread around javadocs.
>
> For instance, the font task that has changed in 1.2.1
> removing support for src="font.ttf", this change is nowere
> to find, and the javadocs for Font class still mention it.
>
> What's worse, the task itself now silently ignores this
> attribute and does not produce bitmap font. However, there
> is no error message produced of any sort.
>
> Also, is there any chance opensourcing at least Ant 
> tasks?
> [Message sent by forum member 'ak1394' (ak1394@mail.ru)]
>

You need to have the font installed and specify logicalName as the font
logical name, as shown when you open the font.

Regards.

David.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
For additional commands, e-mail: users-help@lwuit.dev.java.net

ak1394
Offline
Joined: 2009-08-07
Points: 0

Yep, thanks, I've figured that out after some googling. It's just I'm unhappy about state of ant tasks/docs.

David Lucena

--- El sáb, 31/10/09, lwuit-users@mobileandembedded.org escribió:

> De: lwuit-users@mobileandembedded.org
> Asunto: Re: Ant tasks
> Para: users@lwuit.dev.java.net
> Fecha: sábado, 31 octubre, 2009 2:04
> Yep, thanks, I've figured that out
> after some googling. It's just I'm unhappy about state of
> ant tasks/docs.
> [Message sent by forum member 'ak1394' (ak1394@mail.ru)]
>

I know how you feel. But this project is still very new and has not many
main developers. And as the project is continually evolving I suppose there
is not much time to update the actual documentation.

I cannot remember the countless times I have decompiled the Ant Tasks
classes from the ResourceEditor package in order to understand what
parameters I needed. But know what? I really liked it and learned more
than if I had only read a good documentation.

Regards.

David.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
For additional commands, e-mail: users-help@lwuit.dev.java.net

ak1394
Offline
Joined: 2009-08-07
Points: 0

I know, I know. With all the minor issues LWUIT is stll the best UI toolkit in j2me world for now. So big thanks to developers, hope they'll do their best.

Anton