ExtJs : Migration to 6.5 from 6.2.1: $'{'framework.name'}'.properties does not exist - upgrade

My current ExtJs application is built with version 6.2.1.
I installed the new Sencha Cmd 6.5
and also the ExtJS 6.5 framework, on this directory: "D:\TOOLS\Sencha\ext-6.5.0".
But when I launched the upgrade command :
sencha app upgrade -ext -path "D:\TOOLS\Sencha\ext-6.5.0"
First of all I've the following warning:
[WRN] Disabling framework : current version 6.5.0.775 is incompatible with required version 6.2.1.167
And then the build failed on this error
com.sencha.exceptions.ExNotFound: Required property file D:\AllAtrium\trunk\Web\src\trunk\FrontExtJs.sencha\app\$'{'framework.name'}'.properties does not exist
This missing variable is nevertheless declared into the file "MyApp\ext\cmd\sencha.cfg".
How to solve this issue ?
Is there a another way to migrate an app from v6.2 to v6.5 ?
Full log :
Sencha Cmd v6.5.0.180
[WRN] D:\Web\src\trunk\FrontExtJs\.sencha\app contained customized file Microloader_orig.js
[WRN] D:\Web\src\trunk\FrontExtJs\.sencha\app contained customized file sencha.cfg.bak
[WRN] Directory D:\Web\src\trunk\FrontExtJs\.sencha\app could not be removed
[INF] Loading configuration for framework directory: D:\TOOLS\Sencha\ext-6.5.0
[INF] Copying framework to D:\Web\src\trunk\FrontExtJs\ext
[INF] Upgrading to Ext JS 6.x
[INF] Upgrading to sdk at D:\TOOLS\Sencha\ext-6.5.0
[INF] Updating application and workspace from Ext JS 6.2.1.167 / Cmd 6.2.1.29
[WRN] Disabling framework : current version 6.5.0.775 is incompatible with required version 6.2.1.167
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExNotFound: Required property file D:\Web\src\trunk\FrontExtJs\.sencha\app\$'{'framework.name'}'.properties does not exist
[ERR]
[ERR] Total time: 0 seconds
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.BasicException: com.sencha.exceptions.ExNotFound: Required property file D:\Web\src\trunk\FrontExtJs\.sencha\app\$'{'framework.name'}'.properties does not exist
[ERR]
[ERR] Total time: 1 second
[ERR] com.sencha.exceptions.BasicException: com.sencha.exceptions.ExNotFound: Required property file D:\Web\src\trunk\FrontExtJs\.sencha\app\${framework.name}.properties does not exist
[ERR]
[ERR] The application was last modified by an older version of Sencha Cmd (6.2.1.29).
[ERR] Running "sencha app upgrade" may resolve the error described above.
[ERR]

My answer might come too late but at least maybe it will help others:
I have upgraded a fair number of applications till now (major & minors including nightly builds) and I was rarely able to upgrade an app without Errors using the Sencha Guide.
I found that it is much easier and less time consuming to:
generate another application with the same name
copy (almost) all your files & folders into the new app (/app except Application.js, /overrides, /resources, /sass etc.)
manually change (merge) app.json file and Application.js file from the 2 apps - framework specific declarations might differ.
run an application build
Note1: Upgrade to the latest Sencha Cmd version (for simplification).
Note2: sencha upgrade installs the newer version if exists but does not uninstall the older one(s). Make sure you are using the latest one.

I had to run sencha app install which will repopulate missing files. Once I ran that, sencha app upgrade ran smoothly. Run sencha help app install for more info about it.

Related

fatal error: module 'flutter_web_auth' not found

When running the project on a simulator everything seems to work fine. Once i tried to deploy to an actual device I get the following error:
iOS Version - 13.0
Xcode Version - 11.3.1
Flutter Version - 1.12.13+hotfix.8
Building AOT snapshot in release mode (ios-release)...
Building App.framework for arm64...
Building App.framework for armv7...
Building AOT snapshot in release mode (ios-release)... 30.5s
Built to build/aot/.
warning: parsing line table prologue at offset 0x6f697463 found unsupported
version 0x00
warning: line table parameters mismatch. Cannot emit.
note: while processing
/Users/<Username>/Documents/flutter_test_app/build/aot/armv7/snapsho
t_assembly.o
Project /Users/<Username>/Documents/flutter_test_app built and
packaged successfully.
/Users/<Username>/Documents/flutter_test_app/ios/Runner/GeneratedPlu
ginRegistrant.m:10:9: fatal error: module 'flutter_web_auth' not found
#import flutter_web_auth;
~~~~~~~^~~~~~~~~~~~~~~~
1 error generated.
/Users/<Username>/Documents/flutter_test_app/ios/Runner/GeneratedPlu
ginRegistrant.m:10:9: fatal error: module 'flutter_web_auth' not found
#import flutter_web_auth;
~~~~~~~^~~~~~~~~~~~~~~~
1 error generated.
note: Using new build system
note: Planning build
note: Constructing build description
Could not build the precompiled application for the device.
Error running application on iPhone.
Make sure you have added flutter we bauth dependency plugin in your pubspec.yaml
dependencies:
flutter_web_auth: ^0.1.3
If it's added and it still does not works, ensure also that the pod install works fine to add the plugin.

Plugins failed to Load during Jira startup after upgrade to 7. 1.6

I am trying to upgrade to Jira 7 from version 6. I used the rapid upgrade method. It installs fine but I get an error on the browser “There is a problem with your Jira Access”. I went through the logs and I see that 6 plugins are failed to load during the Jira startup. Somehow they are disabled. I replaced couple of these .jar files with latest .jar and re-started the service, but I get the same error.
I also ran this query update pluginstate set pluginenabled='true' in the db but no luck.
Here is the log:
net.customware.plugins.connector.salesforce.salesforce-connector-plugin' - 'ServiceRocket Salesforce.com Connector Plugin - Plugin' failed to load.
Cannot start plugin: net.customware.plugins.connector.salesforce.salesforce-connector-plugin
Unresolved constraint in bundle net.customware.plugins.connector.salesforce.salesforce-connector-plugin [206]: Unable to resolve 206.0: missing requirement [206.0] osgi.wiring.bundle; (osgi.wiring.bundle=net.customware.plugins.connector.atlassian.jira-connector-plugin) [caused by: Unable to resolve 204.0: missing requirement [204.0] osgi.wiring.package; (osgi.wiring.package=javax.xml.rpc)]
It was loaded from C:\JIRA_data\plugins\installed-plugins\salesforce-connector-plugin-6.0.8.jar.
We had the same problem last week, upgrading from 6.4.13 to 7.1.6. There are some incompatible plugins that crash Jira 7 when started, despite an apparently successful upgrade. Please refer to this page for details on the target plugins, as well as a way to solve the problem:
https://confluence.atlassian.com/jirakb/upgrading-to-jira-7-throws-a-nosuchmethoderror-on-com-atlassian-crowd-embedded-api-user-781396615.html

Intel XDK Google + google services plugin - build fails

I have developed a working hybrid application in which I am using "phonegap-googlemaps-plugin". This plugin needs as a dependency two other which downloads and installs automatically in the project. The dependencies are:
com.google.playservices and plugin.http.request
Using the Cordova-CLI, installing this plugin with the dependencies will fail building the project the 1st time because of a specific directory in the "playservices" plugin. To overcome this, I have to run "ant clean" in my project and also remove/rename that directory. Now, I am using Intel XDK and uploaded my app and installed most of my plugins successfully and run the application on my device. When I am trying to install the google play services plugin, it fails to build because of the reason I described above (I've run through the logs). How can I overcome this issue now?
I have attached the part of the log that shows the fail error
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[echo] ----------
[echo] Handling Resources...
[aapt] Generating resource IDs...
[aapt] invalid resource directory name: .../App/platforms/android/com.google.playservices/google-play-services_lib/bin/res/crunch
BUILD FAILED
/Developer/android-sdk-linux/tools/ant/build.xml:653: The following error occurred while executing this line:
/Developer/android-sdk-linux/tools/ant/build.xml:698: null returned: 1
Total time: 5 seconds
Error code 1 for command: ant with args: release,-f,.../App/platforms /android/build.xml,-Dout.dir=ant-build,-Dgen.absolute.dir=ant-gen
Command finished with error code 2: .../App/platforms/android/cordova/build --release
Error: .../App/platforms/android/cordova/build: Command failed with exit code 2
at ChildProcess.whenDone (/Developer/cordova/3.5.0-0.2.7/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Process.ChildProcess._handle.onexit (child_process.js:810:5)
Thanks in advance.

IBM Worklight 6.0 - Build issues

I am just running a test app, and my build fails with the following logs, I have tried restarting, changing workpace, creating test app but dint work. please let me know.
ipad build failed: Cannot overwrite template file '/Users/mspssmac-pc232938/Documents/Projects/FnApp/testApp/apps/testApp/ipad/native/Settings.bundle/Root.plist'
[2013-08-23 12:04:10] FWLST1040E: iphone build failed: Cannot overwrite template file '/Users/mspssmac-pc232938/Documents/Projects/FnApp/testApp/apps/testApp/iphone/native/Settings.bundle/Root.plist'
[2013-08-23 12:04:10] A core eclipse exception has occurred: Failed to read project description file from location '/Users/mspssmac-pc232938/Documents/Projects/FnApp/testApp/apps/testApp/android/native/.project'.
Thanks
djrecker
Try deleting the native folder
Try running Eclipse with the -clean flag
Is this a shared workspace between Eclipses? Does it work with a local workspace?
See if this helps: Worklight on OS X, iPhone and Android builds fail due to missing info.plist and other files
You have also asked this here: IBM Worklight - Build failed
A common issue for all seems to be:
A core eclipse exception has occurred: Failed to read project
description file from location ... [path to .project file]

Upgrading cordova 1.9.0 (iOS) to cordova 2.1.0 and updating existing projects to use 2.1.0

I have uninstalled cordova 1.9.0 by doing:
To uninstall:
Remove the PHONEGAPLIB value in Xcode Preferences -> Source Trees
Delete the ~/Documents/PhoneGapLib folder
Delete the ~/Library/Application Support/Developer/Shared/Xcode/Project Templates/PhoneGap folder
Delete the "~/Library/Application Support/Developer/Shared/Xcode/Templates/Project Templates/Application/PhoneGap-based Application.xctemplate" or the "~/Library/Developer/Xcode/Templates/Project\ Templates/Application/PhoneGap-based\ Application.xctemplate" folder
Delete the /Users/Shared/PhoneGap/Frameworks/PhoneGap.framework folder
Delete the ~/Library/Frameworks/PhoneGap.framework symlink
I then followed the upgrade guides:
http://github.com/apache/incubator-cordova ios/blob/master/guides/Cordova%20Plugin%20Upgrade%20Guide.md
and http://docs.phonegap.com/en/2.1.0/guide_upgrading_ios_index.md.html
The project builds with no errors, but when I try to run:
On an iPhone with iOS 5.1.1 I get this error:
ERROR: Start Page at 'www/index.html' was not found.
and on an iPhone with iOS 6.0 I get this error:
Failed to load webpage with error: The requested URL was not found on this server.
Whether I remove the only external link or all javascript sources, whether I manually add the www folder, or anything at all that can be found on the internet, these errors are persistent.
Apparently this problem was first noticed in cordova 1.4 and I followed this solution http://www.tricedesigns.com/2012/02/16/linked-source-files-across-phonegap-projects-on-osx/
The problem was that Xcode could not see the www folder.