[
https://issues.jboss.org/browse/JBIDE-16996?page=com.atlassian.jira.plugi...
]
Gorkem Ercan commented on JBIDE-16996:
--------------------------------------
It is because default is a reserved word on Java and for Android the package names are
inherited from ID. We need to add full java package name checks.
Text "cordova.default" cannot be used as application id
-------------------------------------------------------
Key: JBIDE-16996
URL:
https://issues.jboss.org/browse/JBIDE-16996
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: aerogear-hybrid
Affects Versions: 4.2.0.Beta1
Environment: JBDS 8.0.0.Beta1-v20140402-0037-B82
Reporter: Vlado Pakan
Fix For: 4.2.0.Beta2
1. Create Hybrid Mobile project with ID="cordova.default"
2. Export project as Native Mobile Project for android
ERROR:
{noformat}
[javac]
/home/vpakan/jbdevstudio800Beta1a/studio/configuration/org.eclipse.osgi/947/data/proj_gen/cordova-def/android/src/cordova/default/cordova_def.java:20:
error: <identifier> expected
[javac] package cordova.default;
{noformat}
3. Run Project on Android Device/Simulator
ERROR: the same as above
I don't know if it's bug or some restriction for application name. If it's
just restriction we should not allow user to specify such a ID or at least display warning
that user is using wrong ID and will not be able to export/run poject with this ID.
--
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