[JBoss JIRA] (JBIDE-14544) Cannot run Cordova project on Android Emulator/Device
by Len DiMaggio (JIRA)
[ https://issues.jboss.org/browse/JBIDE-14544?page=com.atlassian.jira.plugi... ]
Len DiMaggio commented on JBIDE-14544:
--------------------------------------
This is not unique to Linux. I am seeing this on RHEL and Mac.
> Cannot run Cordova project on Android Emulator/Device
> -----------------------------------------------------
>
> Key: JBIDE-14544
> URL: https://issues.jboss.org/browse/JBIDE-14544
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid
> Affects Versions: 4.1.0.Beta1
> Environment: Fedora 17 32bit
> Android 4.1.2
> Reporter: Stefan Bunciak
> Assignee: Gorkem Ercan
> Priority: Blocker
> Labels: respin-a
> Fix For: 4.1.0.Beta1
>
> Original Estimate: 0 minutes
> Remaining Estimate: 0 minutes
>
> {code}
> java.io.IOException: No such file or directory
> at java.io.UnixFileSystem.createFileExclusively(Native Method)
> at java.io.File.createNewFile(File.java:883)
> at org.jboss.tools.aerogear.hybrid.core.util.FileUtils.fileCopy(FileUtils.java:105)
> at org.jboss.tools.aerogear.hybrid.android.core.adt.AndroidProjectGenerator.generateNativeFiles(AndroidProjectGenerator.java:99)
> at org.jboss.tools.aerogear.hybrid.core.platform.AbstractPlatformProjectGenerator.generateNow(AbstractPlatformProjectGenerator.java:68)
> at org.jboss.tools.aerogear.hybrid.android.core.adt.AndroidLaunchDelegate.buildForLaunch(AndroidLaunchDelegate.java:68)
> at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:825)
> at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:706)
> at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1018)
> at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1222)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> {code}
--
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
12 years, 10 months
[JBoss JIRA] (JBIDE-13973) Test failures in Kepler >= M6
by Vlado Pakan (JIRA)
[ https://issues.jboss.org/browse/JBIDE-13973?page=com.atlassian.jira.plugi... ]
Vlado Pakan closed JBIDE-13973.
-------------------------------
> Test failures in Kepler >= M6
> ------------------------------
>
> Key: JBIDE-13973
> URL: https://issues.jboss.org/browse/JBIDE-13973
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: testing-tools
> Affects Versions: 4.1.0.Alpha2
> Reporter: Snjezana Peco
> Assignee: Snjezana Peco
> Labels: respin-a
> Fix For: 4.1.0.Beta1
>
>
> 1) Kepler M6 introduces the Workspace Save Job job. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=2369 and https://bugs.eclipse.org/bugs/show_bug.cgi?id=402912
> It would be good to add a preference that would disable this job when running tests. This would speed up all the tests lasting more than five minutes. The 402912 bug is fixed, but the tests will still be faster if this job doesn't run at all.
> We would also avoid the "Long running tasks detected: Workbench Auto-Save Job" failure.
> The latest hibernate/server failures are mainly caused by this issue.
> See
> https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBo...
> https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBo...
> The issue can be fixed as follows:
> a) add an option to the parent pom:
> {code}
> --- a/parent/pom.xml
> +++ b/parent/pom.xml
> @@ -227,6 +227,7 @@
> <!-- THE FOLLOWING LINE MUST NOT BE BROKEN BY AUTOFORMATTING -->
> <!-- tycho.testArgLine repeated to keep jacoco configuration for jacoco-maven-plugin -->
> <argLine>${tycho.testArgLine} ${memoryOptions1} ${memoryOptions2} ${applejdkProperties} ${platformSystemProper
> + <appArgLine>-pluginCustomization ${basedir}/plugin_customization.ini</appArgLine>
> {code}
> b) add the plugin_customization.ini file to the test's root folder with the following content:
> {code}
> org.eclipse.ui.workbench/WORKBENCH_SAVE_INTERVAL=0
> {code}
> The test plugin will be also able to change other preferences.
> It is also possible to generate this file automatically, but, that way, all the test plugins would have the same preferences.
> I propose to add this file to all the test plugins that take more than a half hour.
> c) set the WORKBENCH_SAVE_INTERVAL property explicitly to the start method of the org.jboss.tools.tests plugin to fix periodic the "Long running tasks detected: Workbench Auto-Save Job" failures.
> {code}
> --- a/tests/plugins/org.jboss.tools.tests/src/org/jboss/tools/tests/TestsPlugin.java
> +++ b/tests/plugins/org.jboss.tools.tests/src/org/jboss/tools/tests/TestsPlugin.java
> @@ -10,7 +10,11 @@
> ******************************************************************************/
> package org.jboss.tools.tests;
>
> +import org.eclipse.ui.internal.IPreferenceConstants;
> +import org.eclipse.ui.internal.WorkbenchPlugin;
> +import org.eclipse.ui.internal.util.PrefUtil;
> import org.eclipse.ui.plugin.AbstractUIPlugin;
> +import org.osgi.framework.BundleContext;
>
> /**
> * @author eskimo
> @@ -27,4 +31,10 @@ public class TestsPlugin extends AbstractUIPlugin {
>
> }
>
> + @Override
> + public void start(BundleContext context) throws Exception {
> + super.start(context);
> + WorkbenchPlugin.getDefault().getPreferenceStore().setValue(IPreferenceConstants.WORKBENCH_SAVE_INTERVAL, 0);
> + PrefUtil.savePrefs();
> + }
> }
> {code}
> 2) The following error sometimes happens:
> {code}
> org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
> at org.eclipse.swt.SWT.error(SWT.java:4392)
> at org.eclipse.swt.SWT.error(SWT.java:4307)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3692)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3341)
> at org.jboss.tools.test.util.JobUtils.delay(JobUtils.java:58)
> at org.jboss.tools.test.util.JobUtils.waitForIdle(JobUtils.java:37)
> at org.jboss.tools.test.util.JobUtils.waitForIdle(JobUtils.java:31)
> at org.jboss.tools.test.util.JobUtils.waitForIdle(JobUtils.java:27)
> ...
> {code}
>
> See https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBo...
>
> This can be fixed as follows:
> {code}
> --- a/tests/plugins/org.jboss.tools.tests/src/org/jboss/tools/test/util/JobUtils.java
> +++ b/tests/plugins/org.jboss.tools.tests/src/org/jboss/tools/test/util/JobUtils.java
> @@ -55,7 +55,7 @@ public class JobUtils {
> if(PlatformUI.isWorkbenchRunning() && display!= null) {
> long endTimeMillis = System.currentTimeMillis() + waitTimeMillis;
> while (System.currentTimeMillis() < endTimeMillis) {
> - if (!display.readAndDispatch())
> + if (PlatformUI.isWorkbenchRunning() && display != null && !display.readAndDispatch())
> display.sleep();
> }
> display.update();
> {code}
> I suppose this error is also caused by the changes in the Kepler M6 UISynchronizer.
> 3) The org.jboss.ide.eclipse.archives.test.core.ant.SimpleAntTest.testOne test sometimes fails
> I think, it is necessary to add an empty file to the /org.jboss.ide.eclipse.archives.test/inputs/projects/SimpleAntTest/output directory because git skips empty directories.
--
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
12 years, 10 months
[JBoss JIRA] (JBIDE-14607) Forge Wizards Menu
by Burr Sutter (JIRA)
[ https://issues.jboss.org/browse/JBIDE-14607?page=com.atlassian.jira.plugi... ]
Burr Sutter commented on JBIDE-14607:
-------------------------------------
Koen, yes, I am OK with the removals, if you could, please identify the series of steps we expect the average end-user to attempt - I can then validate those steps. At this moment, it is unclear how an end-user would engage with this feature(s).
> Forge Wizards Menu
> ------------------
>
> Key: JBIDE-14607
> URL: https://issues.jboss.org/browse/JBIDE-14607
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: forge
> Reporter: Burr Sutter
> Assignee: Koen Aers
> Attachments: forge_wizards.png
>
>
> The Forge Wizards are currently "buried" under Command/Ctrl-N, under the JBoss Tools category, they have no icons.
> New Project
> Persistence Setup
> New Entity
> New Field
> Generate Entities
> Scaffold Setup
> Scaffold Entities
> I propose the following:
> These be pulled into a category called "JBoss Forge"and that category also be available on the right-click/context New menu for any Maven-based project.
> I normally will use either the HTML5, Java EE Web or RichFaces archetypes from JBoss Central as the starting point for a project - then add entities/scaffolding via Forge.
--
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
12 years, 10 months
[JBoss JIRA] (JBIDE-14544) Cannot run Cordova project on Android Emulator/Device
by Gorkem Ercan (JIRA)
[ https://issues.jboss.org/browse/JBIDE-14544?page=com.atlassian.jira.plugi... ]
Gorkem Ercan commented on JBIDE-14544:
--------------------------------------
This is what I was suspecting, for some reason "android create project" command does not create the libs folder on your environment.
> Cannot run Cordova project on Android Emulator/Device
> -----------------------------------------------------
>
> Key: JBIDE-14544
> URL: https://issues.jboss.org/browse/JBIDE-14544
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid
> Affects Versions: 4.1.0.Beta1
> Environment: Fedora 17 32bit
> Android 4.1.2
> Reporter: Stefan Bunciak
> Assignee: Gorkem Ercan
> Priority: Blocker
> Labels: respin-a
> Fix For: 4.1.0.Beta1
>
> Original Estimate: 0 minutes
> Remaining Estimate: 0 minutes
>
> {code}
> java.io.IOException: No such file or directory
> at java.io.UnixFileSystem.createFileExclusively(Native Method)
> at java.io.File.createNewFile(File.java:883)
> at org.jboss.tools.aerogear.hybrid.core.util.FileUtils.fileCopy(FileUtils.java:105)
> at org.jboss.tools.aerogear.hybrid.android.core.adt.AndroidProjectGenerator.generateNativeFiles(AndroidProjectGenerator.java:99)
> at org.jboss.tools.aerogear.hybrid.core.platform.AbstractPlatformProjectGenerator.generateNow(AbstractPlatformProjectGenerator.java:68)
> at org.jboss.tools.aerogear.hybrid.android.core.adt.AndroidLaunchDelegate.buildForLaunch(AndroidLaunchDelegate.java:68)
> at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:825)
> at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:706)
> at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1018)
> at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1222)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> {code}
--
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
12 years, 10 months
[JBoss JIRA] (JBIDE-14544) Cannot run Cordova project on Android Emulator/Device
by Len DiMaggio (JIRA)
[ https://issues.jboss.org/browse/JBIDE-14544?page=com.atlassian.jira.plugi... ]
Len DiMaggio edited comment on JBIDE-14544 at 6/3/13 9:45 AM:
--------------------------------------------------------------
With that update - this error is raised when the app is run:
Android SDK tools failed to create libs folder
------
This is all that is written to the .log:
!ENTRY org.jboss.tools.aerogear.hybrid.android.core 4 0 2013-06-03 09:36:19.408
!MESSAGE Android SDK tools failed to create libs folder
was (Author: ldimaggio):
With that update - this error is raised when the app is run:
Android SDK tools failed to create libs folder
> Cannot run Cordova project on Android Emulator/Device
> -----------------------------------------------------
>
> Key: JBIDE-14544
> URL: https://issues.jboss.org/browse/JBIDE-14544
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid
> Affects Versions: 4.1.0.Beta1
> Environment: Fedora 17 32bit
> Android 4.1.2
> Reporter: Stefan Bunciak
> Assignee: Gorkem Ercan
> Priority: Blocker
> Labels: respin-a
> Fix For: 4.1.0.Beta1
>
> Original Estimate: 0 minutes
> Remaining Estimate: 0 minutes
>
> {code}
> java.io.IOException: No such file or directory
> at java.io.UnixFileSystem.createFileExclusively(Native Method)
> at java.io.File.createNewFile(File.java:883)
> at org.jboss.tools.aerogear.hybrid.core.util.FileUtils.fileCopy(FileUtils.java:105)
> at org.jboss.tools.aerogear.hybrid.android.core.adt.AndroidProjectGenerator.generateNativeFiles(AndroidProjectGenerator.java:99)
> at org.jboss.tools.aerogear.hybrid.core.platform.AbstractPlatformProjectGenerator.generateNow(AbstractPlatformProjectGenerator.java:68)
> at org.jboss.tools.aerogear.hybrid.android.core.adt.AndroidLaunchDelegate.buildForLaunch(AndroidLaunchDelegate.java:68)
> at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:825)
> at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:706)
> at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1018)
> at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1222)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> {code}
--
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
12 years, 10 months
[JBoss JIRA] (JBIDE-14544) Cannot run Cordova project on Android Emulator/Device
by Len DiMaggio (JIRA)
[ https://issues.jboss.org/browse/JBIDE-14544?page=com.atlassian.jira.plugi... ]
Len DiMaggio commented on JBIDE-14544:
--------------------------------------
With that update - this error is raised when the app is run:
Android SDK tools failed to create libs folder
> Cannot run Cordova project on Android Emulator/Device
> -----------------------------------------------------
>
> Key: JBIDE-14544
> URL: https://issues.jboss.org/browse/JBIDE-14544
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid
> Affects Versions: 4.1.0.Beta1
> Environment: Fedora 17 32bit
> Android 4.1.2
> Reporter: Stefan Bunciak
> Assignee: Gorkem Ercan
> Priority: Blocker
> Labels: respin-a
> Fix For: 4.1.0.Beta1
>
> Original Estimate: 0 minutes
> Remaining Estimate: 0 minutes
>
> {code}
> java.io.IOException: No such file or directory
> at java.io.UnixFileSystem.createFileExclusively(Native Method)
> at java.io.File.createNewFile(File.java:883)
> at org.jboss.tools.aerogear.hybrid.core.util.FileUtils.fileCopy(FileUtils.java:105)
> at org.jboss.tools.aerogear.hybrid.android.core.adt.AndroidProjectGenerator.generateNativeFiles(AndroidProjectGenerator.java:99)
> at org.jboss.tools.aerogear.hybrid.core.platform.AbstractPlatformProjectGenerator.generateNow(AbstractPlatformProjectGenerator.java:68)
> at org.jboss.tools.aerogear.hybrid.android.core.adt.AndroidLaunchDelegate.buildForLaunch(AndroidLaunchDelegate.java:68)
> at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:825)
> at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:706)
> at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1018)
> at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1222)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> {code}
--
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
12 years, 10 months
[JBoss JIRA] (JBIDE-14544) Cannot run Cordova project on Android Emulator/Device
by Jiri Peterka (JIRA)
[ https://issues.jboss.org/browse/JBIDE-14544?page=com.atlassian.jira.plugi... ]
Jiri Peterka commented on JBIDE-14544:
--------------------------------------
After Gorkem's update I'm receiving: Android SDK tools failed to create libs folder, tested on L64
> Cannot run Cordova project on Android Emulator/Device
> -----------------------------------------------------
>
> Key: JBIDE-14544
> URL: https://issues.jboss.org/browse/JBIDE-14544
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid
> Affects Versions: 4.1.0.Beta1
> Environment: Fedora 17 32bit
> Android 4.1.2
> Reporter: Stefan Bunciak
> Assignee: Gorkem Ercan
> Priority: Blocker
> Labels: respin-a
> Fix For: 4.1.0.Beta1
>
> Original Estimate: 0 minutes
> Remaining Estimate: 0 minutes
>
> {code}
> java.io.IOException: No such file or directory
> at java.io.UnixFileSystem.createFileExclusively(Native Method)
> at java.io.File.createNewFile(File.java:883)
> at org.jboss.tools.aerogear.hybrid.core.util.FileUtils.fileCopy(FileUtils.java:105)
> at org.jboss.tools.aerogear.hybrid.android.core.adt.AndroidProjectGenerator.generateNativeFiles(AndroidProjectGenerator.java:99)
> at org.jboss.tools.aerogear.hybrid.core.platform.AbstractPlatformProjectGenerator.generateNow(AbstractPlatformProjectGenerator.java:68)
> at org.jboss.tools.aerogear.hybrid.android.core.adt.AndroidLaunchDelegate.buildForLaunch(AndroidLaunchDelegate.java:68)
> at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:825)
> at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:706)
> at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1018)
> at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1222)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> {code}
--
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
12 years, 10 months