Search found 11 matches

by ermanno
Thu Jan 12, 2012 12:47 pm
Forum: Java API
Topic: Chaching Mechanism
Replies: 2
Views: 10489

Re: Chaching Mechanism

There is a brief topic about cache provider; perhaps it might be useful.
http://www.scientiamobile.com/forum/vie ... f=8&t=4#p6
by ermanno
Sun Dec 11, 2011 2:07 am
Forum: Java API
Topic: Spring ClassNotFoundException
Replies: 4
Views: 19050

Re: Spring ClassNotFoundException

This is a config from Spring Mobile, which evolves in a independent way from Wurfl Api. Maybe in the future the two projects will synchronize better, but for the moment, if you want to use latest Wurfl Api, it's better to follow guidelines from Wurfl Documentation. For example: <!-- ================...
by ermanno
Tue Dec 06, 2011 5:11 am
Forum: Java API
Topic: Spring ClassNotFoundException
Replies: 4
Views: 19050

Re: Spring ClassNotFoundException

It seems to be a classloader problem.

In 1.3.1.1 API, SpringXMLResource is in package net.sourceforge.wurfl.spring.

If you post your Spring Config files, maybe we can aid to check the best configuration options.
by ermanno
Wed Nov 30, 2011 4:23 am
Forum: Java API
Topic: java.lang.StringIndexOutOfBoundsException:
Replies: 3
Views: 13115

Re: java.lang.StringIndexOutOfBoundsException:

As pointed out in http://www.scientiamobile.com/forum/viewtopic.php?f=8&t=3#p38, you must show the snapshot repository, in your pom <repository> <id>scientiamobile.public.snapshot</id> <name>Scientia Mobile Public Snapshots repository</name> <url>http://dev.scientiamobile.com/nexus/content/repositor...
by ermanno
Mon Nov 28, 2011 9:47 am
Forum: Java API
Topic: java.lang.StringIndexOutOfBoundsException:
Replies: 3
Views: 13115

Re: java.lang.StringIndexOutOfBoundsException:

You can try with the new API version 1.3.5-SNAPSHOT. Simply change the version in your Maven POM: <dependency> <groupId>net.sourceforge.wurfl</groupId> <artifactId>wurfl</artifactId> <version>1.3.5-SNAPSHOT</version> </dependency> With our test it gives Nokia2630/2.0 (05.20) Profile/MIDP-2.1 Configu...
by ermanno
Thu Oct 13, 2011 1:14 am
Forum: Device Detection Issues
Topic: myTouch 3g slide not recongized as mobile device
Replies: 5
Views: 10342

Re: myTouch 3g slide not recognized as mobile device

This seems to be a question about Java API.
Could you post your User Agent string, so we can check it?
Thanks, Ermanno
by ermanno
Thu Oct 13, 2011 12:37 am
Forum: Java API
Topic: Support for JDK 1.4.2
Replies: 6
Views: 18130

Re: Support for JDK 1.4.2

As you surely know, assert is a 1.4 keyword.
http://192.9.162.55/developer/technical ... ssertions/

We have received your request, and we'll answer soon.
by ermanno
Wed Oct 12, 2011 3:54 pm
Forum: Java API
Topic: Support for JDK 1.4.2
Replies: 6
Views: 18130

Re: Support for JDK 1.4.2

Probably there is a minor issue in JDK 1.4 support, due to our wide use of Logback for logging, from Java WURFL API version 1.3 onwards. Logback requires Java5, but we use it by mean of slf4j, that has only JDK 1.3 requirements, so perhaps it would be quite easy to release a maintenance version of 1...
by ermanno
Wed Oct 12, 2011 3:12 pm
Forum: Java API
Topic: Support for JDK 1.4.2
Replies: 6
Views: 18130

Re: Support for JDK 1.4.2

We have planned discontinuity from version 1.3.5, now in beta testing.
You might checkout version 1.3.1.1, with is the latest production library.
by ermanno
Wed Oct 12, 2011 11:20 am
Forum: Java API
Topic: How can I use Java WURFL API in a standalone manner?
Replies: 1
Views: 9089

Re: How can I use Java WURFL API in a standalone manner?

The simplest way is a Spring3 - Maven project. You can instantiate an Application Context by hand, and lookup for a 'wurflManager'. E.g.: public static void main(String[] args) { ApplicationContext ctx = new ClassPathXmlApplicationContext("/spring/wurfl-standard-import-ctx.xml"); WURFLManager wurflM...
by ermanno
Wed Oct 12, 2011 11:15 am
Forum: Java API
Topic: How can I use Java WURFL API in a standalone manner?
Replies: 1
Views: 9089

How can I use Java WURFL API in a standalone manner?

Is it possible to use WURFL Java API in a standalone environment, outside a Server or a Servlet Container?