[
https://issues.jboss.org/browse/JBTM-1227?page=com.atlassian.jira.plugin....
]
Gytis Trikleris edited comment on JBTM-1227 at 1/9/13 5:05 AM:
---------------------------------------------------------------
Implementations for system libraries, such as StAX, can be added to the application's
library. However, to build such applications "--core-library" flag has to be
added to dx script. Therefore, application can be built only with ant.
I wrote simple application which uses JBossTS build which does not have tweaks for Android
i.e. it requires StAX even from Android. Application's repository is on github:
https://github.com/Gytis/jbossts-on-android
Also, based on all the info I found, Android does not provide functionality to access
application files directly by path, unless file is in cache. However, JBossTS reads its
properties in such way. So I wrote a small library to extract file (e.g.
arjuna-properties.xml) from assets directory and place it in cache. Its repository on
github:
https://github.com/Gytis/android_asset_cache
was (Author: gytis):
Implementations for system libraries, such as StAX, can be added to the
application's library. However, to build such applications "--core-library"
flag has to be added to dx script. Therefore, application can be built only with ant.
I wrote simple application which uses JBossTS build which does not have tweaks for Android
i.e. it requires StAX even from Android. Application's repository is on github:
https://github.com/Gytis/jbossts-on-android
Also, based on all the info I found, Android does not provide functionality to access
application files directly by path, unless file is in cache. However, JBossTS reads its
properties in such way. So I wrote small library to extract file (e.g.
arjuna-properties.xml) from assets directory and place it in cache.
StAX is not available on Android
--------------------------------
Key: JBTM-1227
URL:
https://issues.jboss.org/browse/JBTM-1227
Project: JBoss Transaction Manager
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Common
Affects Versions: 4.16.4, 5.0.0.M1
Environment: Android 2.3.3
Reporter: Mark Little
Assignee: Gytis Trikleris
Fix For: 5.0.0.Final
StAX is not available. Since we use it for property configuration, the system fails to
run unmodified. There is an equivalent implementation (XmlPullParser) but it is likely
other JBoss projects will suffer from this issue.
See
http://www.ibm.com/developerworks/library/x-android/ for more details.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira