This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 232212 - Application ID needs to be properly checked
Summary: Application ID needs to be properly checked
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: Cordova (show other bugs)
Version: 7.3
Hardware: Macintosh Mac OS X
: P1 normal (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-03 14:59 UTC by Jan Becicka
Modified: 2013-07-12 02:30 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Becicka 2013-07-03 14:59:30 UTC
If Application ID is invalid, PhoneGap Application does not build properly.
Comment 1 Jan Becicka 2013-07-04 21:33:04 UTC
Changeset: c2431bb742f5
Author:    Jan Becicka <jbecicka@netbeans.org>
Date:      2013-07-04 23:28
Message:
Comment 2 Jan Becicka 2013-07-04 21:33:11 UTC
Changeset: 7f89fc4c9931
Author:    Jan Becicka <jbecicka@netbeans.org>
Date:      2013-07-04 23:30
Message:
Comment 3 Quality Engineering 2013-07-06 02:03:19 UTC
Integrated into 'main-silver', will be available in build *201307052300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/c2431bb742f5
User: Jan Becicka <jbecicka@netbeans.org>
Log: Issue #232212 - Application ID needs to be properly checked
Comment 4 Vladimir Riha 2013-07-08 12:00:57 UTC
I have to reopen, the 

replaceAll(".", "_") seems to be really replacing all :)



Please try either one of following:

case #1:
 - invoke New Project wizard
 - select Samples|HTML5|PhoneGap Maps Sample
 - finish wizard
 - go to project properties

=> Application ID is "com.coolappz._______________" and Application name is "_______________"


case #2:
 - invoke New Project wizard
 - select HTML5|PhoneGap application (so not sample app)
 - press Next and Finish

=> Application ID is "com.company.App" and Application name is "__________________"


In both cases, project CAN be run on Android device, but it doesn't look good (and also application on device has name "__________________").


I think this should be fixed for Beta



Product Version: NetBeans IDE Dev (Build 201307072319)
Java: 1.7.0_25; Java HotSpot(TM) Client VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Comment 5 David Strupl 2013-07-08 14:14:26 UTC
Fixed in jet-main as
http://hg.netbeans.org/jet-main/rev/c200009a0e41
Please verify.
Comment 6 Vladimir Riha 2013-07-09 08:57:13 UTC
Thank you, verified in jet-main


Product Version: NetBeans IDE Dev (Build jet-main-8362-on-20130709)
Java: 1.7.0_25; Java HotSpot(TM) Client VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Comment 7 David Strupl 2013-07-09 13:13:22 UTC
Transplanted to branch release74_beta1 as
http://hg.netbeans.org/releases/rev/228f06aa7826
Comment 8 Quality Engineering 2013-07-10 02:43:31 UTC
Integrated into 'releases/release74_beta1', will be available in build *201307092200* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/228f06aa7826
User: David Strupl <dstrupl@netbeans.org>
Log: Issue #232212 - Application ID needs to be properly checked - fixing typo in the check.
Comment 9 Vladimir Riha 2013-07-10 10:26:16 UTC
verified in Beta

Product Version: NetBeans IDE 7.4 Beta (Build 201307092200)
Java: 1.7.0_25; Java HotSpot(TM) Client VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Comment 10 Quality Engineering 2013-07-12 02:30:14 UTC
Integrated into 'main-silver', will be available in build *201307112300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/c200009a0e41
User: David Strupl <dstrupl@netbeans.org>
Log: Issue #232212 - Application ID needs to be properly checked - fixing typo in the check.