General

Why Floggy?

The project name has been choosed by Priscila. She says that it is pretty quilt.

[top]

Under which license is Floggy licensed?

Floggy is licensed under the Apache License, Version 2.0. This license allows you to use Floggy in open source and commercial applications.

[top]

Technical

Are static fields persisted?

No. Static fields belongs to the class and not to an object instance.

[top]

Are transient fields persisted?

No. Check the concept of a transient field in this document.

[top]

Which profiles are supported?

Floggy has been sucessfuly tested with MIDP 1.0, 2.0 and 2.1. If you have tested Floggy with other profiles please send us an e-mail and let us know.

[top]

Which configurations are supported?

Floggy has been sucessfuly tested with CLDC 1.0 and 1.1. If you have tested Floggy with other configurations please send us an e-mail and let us know.

[top]

Can I view the generated bytecode?

You can view the generated bytecode using javap or the jClasslib. Alternatively you can set the weaver to generate the source code.

[top]

I'm getting a "cannot access java.lang.NoClassDefFoundError class file for java.lang.NoClassDefFoundError not foundjava.lang.NoClassDefFoundError" error when executing Floggy. What is happening?

This is not a Floggy problem! This problem is correlated to a transformation that compilers do when reach a Java's language construction like this Class personClass= Person.class. What happens is that the compiler transform this construction into a try/catch block which catches a java.lang.NoClassDefFoundError so when the compiler tries to check the class java.lang.NoClassDefFoundError against the CLDC-1.0 classpath it detects that this class doesn't exist, throwing the error that you are getting. There are two ways to avoid this. The first one is instead of using the construction Class personClass= Person.class you must use Class personClass= Class.forName("Person");. The other one is switch to the CLDC-1.1 configuration.

[top]

I'm getting a "The chosen operation is not currently available" message when adding the Floggy Nature to my project on Eclipse plugin. What is happening?

This occurs probably because you are using a JDK older than 1.5, Floggy 1.0.1 was built on JDK 1.5. After the 1.1.1 version Floggy is compatible to the JDK 1.4+ too. So you have two options to solve the problem or you update your JDK to 1.5+ or you update the Floggy to 1.1.+. If your problem wasn't solved please ask for help in our user's mailing list.

[top]

Developers

I'm getting the follow warning when building the project floggy-persistence-weaver: [WARNING] POM for 'net.sourceforge.floggy:floggy-persistence-framework:pom:1.1-SNAPSHOT:compile' is invalid. It will be ignored for artifact resolution. What's happend?

This could occur because the variable wtk.home was not defined neither passed as parameter to Maven 2. Use this command 'mvn wtk.home=c:\WTK2.5 package' to build successfully.

[top]