[JBoss JIRA] (JBIDE-17807) index.html of HTML5 kitchensink example is not displayed in VPE visual part
by Konstantin Marmalyukov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17807?page=com.atlassian.jira.plugi... ]
Konstantin Marmalyukov commented on JBIDE-17807:
------------------------------------------------
{quote}I don't think we have a way to detect wether xulrunner is meant to show a blank page or not.{quote}
Sure, moreover we cannot handle is xulrunner doesn't support the feature used or it's error made by user.
> index.html of HTML5 kitchensink example is not displayed in VPE visual part
> ---------------------------------------------------------------------------
>
> Key: JBIDE-17807
> URL: https://issues.jboss.org/browse/JBIDE-17807
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: visual-page-editor-core
> Affects Versions: 4.2.0.Beta3
> Environment: JBDS 8.0.0.Beta3-v20140706-0939-B172
> Linux
> SWT_GTK3=0
> Reporter: Vlado Pakan
> Assignee: Konstantin Marmalyukov
> Priority: Critical
> Fix For: 4.2.0.CR1
>
> Attachments: snapshot11.png, snapshot12.png, snapshot6.png, snapshot7.png, snapshot9.png, vpepreviewblank.png
>
>
> 1. Import HTML5 kitchensink project from JBoss Central
> 2. Open index.html in VPE
> ERROR: Visual part of VPE is blank
> HTML Preview is showing page properly.
> 3. Run JBT with arguments -vmargs -Dorg.jboss.tools.vpe.loadxulrunner=false
> ASSERT: Page is displayed correctly in Visual part of VPE
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 11 months
[JBoss JIRA] (JBIDE-17916) inconsistent use of jdk in builds
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17916?page=com.atlassian.jira.plugi... ]
Martin Malina closed JBIDE-17916.
---------------------------------
I verified the one misconfigured jdk is fixed. Closing.
> inconsistent use of jdk in builds
> ---------------------------------
>
> Key: JBIDE-17916
> URL: https://issues.jboss.org/browse/JBIDE-17916
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: build
> Affects Versions: 4.2.0.Beta3
> Reporter: Max Rydahl Andersen
> Assignee: Nick Boldt
> Fix For: 4.2.0.Beta3
>
>
> while investigating for [~lhein] which java version we actually used for builds on jbosstools jenkins jobs I noticed we seem to have inconsistent usage for luna builds.
> The following jobs dont use Java 7, any reason for that ?
> job/devstudio.product_8.0.luna/config.xml:145: <jdk>java1.6</jdk>
> job/devstudio.versionwatch_8.0.luna/config.xml:95: <jdk>java1.6</jdk>
> job/jbosstools-aerogear_4.2.luna/config.xml:106: <jdk>java1.6</jdk>
> job/jbosstools-birt_4.2.luna/config.xml:107: <jdk>java1.6</jdk>
> job/jbosstools-browsersim_4.2.luna/config.xml:106: <jdk>java1.6</jdk>
> job/jbosstools-build-sites.aggregate.coretests-site_4.2.luna/config.xml:143: <jdk>java1.6</jdk>
> job/jbosstools-build-sites.aggregate.hibernatetools-site_4.2.luna/config.xml:153: <jdk>java1.6</jdk>
> job/jbosstools-build-sites.aggregate.site_4.2.luna/config.xml:143: <jdk>java1.6</jdk>
> job/jbosstools-build-sites.aggregate.webtools-site_4.2.luna/config.xml:153: <jdk>java1.6</jdk>
> job/jbosstools-build.parent_4.2.luna/config.xml:60: <jdk>java1.6</jdk>
> job/jbosstools-buildflow_4.2.luna/config.xml:19: <jdk>java1.6</jdk>
> job/jbosstools-centraltarget_4.2.luna/config.xml:72: <jdk>java1.6</jdk>
> job/jbosstools-discovery_4.2.luna/config.xml:147: <jdk>java1.6</jdk>
> job/jbosstools-freemarker_4.2.luna/config.xml:107: <jdk>java1.6</jdk>
> job/jbosstools-gwt_4.2.luna/config.xml:107: <jdk>java1.6</jdk>
> job/jbosstools-jst_4.2.luna/config.xml:106: <jdk>java1.6</jdk>
> job/jbosstools-livereload_4.2.luna/config.xml:106: <jdk>java1.6</jdk>
> job/jbosstools-openshift_4.2.luna/config.xml:106: <jdk>java1.6</jdk>
> job/jbosstools-portlet_4.2.luna/config.xml:106: <jdk>java1.6</jdk>
> job/jbosstools-server_4.2.luna/config.xml:133: <jdk>java1.6</jdk>
> job/jbosstools-vpe_4.2.luna/config.xml:106: <jdk>java1.6</jdk>
> and only these uses java 7:
> ./job/jbosstools-arquillian_4.2.luna/config.xml: <jdk>jdk1.7</jdk>
> ./job/jbosstools-base_4.2.luna/config.xml: <jdk>jdk1.7u02</jdk> *CHANGED TO* <jdk>jdk1.7</jdk> on 2014-07-18 16:04 EST
> ./job/jbosstools-central_4.2.luna/config.xml: <jdk>jdk1.7</jdk>
> ./job/jbosstools-forge_4.2.luna/config.xml: <jdk>jdk1.7</jdk>
> ./job/jbosstools-hibernate_4.2.luna/config.xml: <jdk>jdk1.7</jdk>
> ./job/jbosstools-javaee_4.2.luna/config.xml: <jdk>jdk1.7</jdk>
> ./job/jbosstools-webservices_4.2.luna/config.xml: <jdk>jdk1.7</jdk>
> and not all the same.
> and there is even one using Java 8:
> ./job/jbosstools-composite-install_4.2.luna/config.xml: <jdk>java1.8</jdk>
> that seems unnecessary.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 11 months
[JBoss JIRA] (JBIDE-15256) Include tycho-source-feature-plugin and tycho-p2-plugin into parent/pom.xml/build/pluginManagement
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15256?page=com.atlassian.jira.plugi... ]
Martin Malina closed JBIDE-15256.
---------------------------------
Strangely, the pull request from server tools is missing in the list, but the changes are applied there nonetheless. Everything seems fine.
Closing.
> Include tycho-source-feature-plugin and tycho-p2-plugin into parent/pom.xml/build/pluginManagement
> --------------------------------------------------------------------------------------------------
>
> Key: JBIDE-15256
> URL: https://issues.jboss.org/browse/JBIDE-15256
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: build
> Affects Versions: 4.2.0.Alpha1
> Reporter: Denis Golovin
> Assignee: Denis Golovin
> Fix For: 4.2.0.Beta1
>
>
> Currently every feature's pom.xml includes the same code, which is code-duplication issue.
> {code}
> <plugin>
> <groupId>org.eclipse.tycho.extras</groupId>
> <artifactId>tycho-source-feature-plugin</artifactId>
> <version>${tychoExtrasVersion}</version>
> <executions>
> <execution>
> <id>source-feature</id>
> <phase>package</phase>
> <goals>
> <goal>source-feature</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> <plugin>
> <groupId>org.eclipse.tycho</groupId>
> <artifactId>tycho-p2-plugin</artifactId>
> <version>${tychoVersion}</version>
> <executions>
> <execution>
> <id>attached-p2-metadata</id>
> <phase>package</phase>
> <goals>
> <goal>p2-metadata</goal>
> </goals>
> </execution>
> </executions>
> </plugin>{code}
> It should be included into pluginManagement section of parent/pom.xml instead and that would reduce code duplication to
> {code}<plugin>
> <groupId>org.eclipse.tycho.extras</groupId>
> <artifactId>tycho-source-feature-plugin</artifactId>
> </plugin>
> <plugin>
> <groupId>org.eclipse.tycho</groupId>
> <artifactId>tycho-p2-plugin</artifactId>
> </plugin>{code}
> in every feture's pom.xml file.
> More over code above could be moved to to features/pom.xml as
> {code}<build>
> <plugins>
> <plugin>
> <groupId>org.eclipse.tycho.extras</groupId>
> <artifactId>tycho-source-feature-plugin</artifactId>
> </plugin>
> <plugin>
> <groupId>org.eclipse.tycho</groupId>
> <artifactId>tycho-p2-plugin</artifactId>
> </plugin>
> </plugins>
> </build>{code}
> that would let keep pom.xml for every feature even cleaner.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 11 months
[JBoss JIRA] (JBIDE-17676) Angular Code Assist doesn't work for angular phonecat app
by Victor Rubezhny (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17676?page=com.atlassian.jira.plugi... ]
Victor Rubezhny edited comment on JBIDE-17676 at 7/22/14 6:42 AM:
------------------------------------------------------------------
bq. Regarding to this issue should I change it to Feature request\?
IMHO, the answer is NO. We are not able to provide some feature for absolutely all kinds of projects. We have to restrict our features to work on some specified kind of nature and JavaScript nature is good candidate to be the one for using Tern.java/Angular.js.
There are three kind of Angular related editing facilities:
* JBoss Tools - Content Assist and Palette for Angular.JS in HTML files
* Tern.java - Content Assist in JavaScript files
* AngularJS-eclipse - Content Assist in HTML files
Tern.java/AngularJS-eclipse are set up (by us) to work on any project that has JavaScript nature. But, as your example with phone-info.html demonstrates, AngularJS-eclipse cannot provide it's Content Assist facilities for any HTML file. The same situation is for the JBoss Tools one.
Particularly for Angular, we cannot provide Content Assist for any HTML file. AFAIK, we're detecting the referencing to angular.js script and usage of ng-* tag attributes, and provide Angular Content Assist and Palette for such files But often HTML files are used as templates, or are built using templates and might not contain any references to angular/don't use ng-* attributes, so we can't to be sure that we have to provide Angular Content Assist for such HTML pages.
We've planned some work due to make it possible to detect if Angular is used in a whole project, so, this may help with Content Assist for such HTML Files (where per-file Angular detection doesn't work), but this will not guarantee, that such project-wise detection will work smoothly right from the time of creating/importing test project.
bq. According to this http://tools.jboss.org/documentation/whatsnew/jbosstools/4.2.0.Beta2.html... AngularJS code completion should be available in JBoss Tools HTML editor.
The requirement to have at least JavaScript nature should be documented.
bq. Could you give me a project where I can test it please?
[~akazakov] Do you have a suitable test project for Vlado in order to test Angular-related text editing features?
was (Author: vrubezhny):
bq. Regarding to this issue should I change it to Feature request\?
IMHO, the answer is NO. We are not able to provide some feature for absolutely all kinds of projects. We have to restrict our features to work on some specified kind of nature and JavaScript nature is good candidate to be the one for using Tern.java/Angular.js.
There are three kind of Angular related editing facilities:
* JBoss Tools - Content Assist and Palette for Angular.JS in HTML files
* Tern.java - Content Assist in JavaScript files
* AngularJS-eclipse - Content Assist in HTML files
Tern.java/AngularJS-eclipse are set up (by us) to work on any project that has JavaScript nature. But, as your example with phone-info.html demonstrates, AngularJS-eclipse cannot provide it's Content Assist facilities for any HTML file. The same situation is for the JBoss Tools one.
Particularly for Angular, we cannot provide Content Assist for any HTML file. AFAIK, we're detecting the referencing to angular.js script and usage of ng-* tag attributes, and provide Angular Content Assist and Palette for such files But often HTML files are used as templates, or are built using templates and might not contain any references to angular/don't use ng-* attributes, so we can't to be sure that we have to provide Angular Content Assist for such HTML pages.
We've planned some work due to make it possible to detect if Angular is used in a whole project, so, this may help with Content Assist for such HTML Files (where per-file Angular detection doesn't work), but this will not guarantee, that such project-wise detection will work smoothly right from the time of creating/importing test project.
bq. According to this http://tools.jboss.org/documentation/whatsnew/jbosstools/4.2.0.Beta2.html... AngularJS code completion should be available in JBoss Tools HTML editor.
The requirement to have at least JavaScript nature should be documented.
bq. Could you give me a project where I can test it please?
[~akazakov] Do you have a suitable test project for Vlado in order to test Angular-related text editing features01?
> Angular Code Assist doesn't work for angular phonecat app
> ---------------------------------------------------------
>
> Key: JBIDE-17676
> URL: https://issues.jboss.org/browse/JBIDE-17676
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jsp/jsf/xml/html source editing
> Affects Versions: 4.2.0.Beta2
> Environment: JBT 4.2.0.Beta2, Linux, AngulaJS for Eclipse installed from JBoss Central Early access
> Reporter: Vlado Pakan
> Assignee: Victor Rubezhny
> Fix For: 4.2.0.CR1
>
> Attachments: angular.png, phonecatControllers.png
>
>
> 1. Follow steps from JBIDE-16544 to import angular phonecat project
> 2. Open controllers.js in Java Script editor
> ERROR: There is no code assist for angular.| or phonecatControllers.|
> 3. Open phone-detail.html
> ERROR: There is no code assist for {{|}} or {{phone.|}}
> Is it not supported scenario?
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 11 months
[JBoss JIRA] (JBIDE-17676) Angular Code Assist doesn't work for angular phonecat app
by Victor Rubezhny (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17676?page=com.atlassian.jira.plugi... ]
Victor Rubezhny commented on JBIDE-17676:
-----------------------------------------
bq. Regarding to this issue should I change it to Feature request\?
IMHO, the answer is NO. We are not able to provide some feature for absolutely all kinds of projects. We have to restrict our features to work on some specified kind of nature and JavaScript nature is good candidate to be the one for using Tern.java/Angular.js.
There are three kind of Angular related editing facilities:
* JBoss Tools - Content Assist and Palette for Angular.JS in HTML files
* Tern.java - Content Assist in JavaScript files
* AngularJS-eclipse - Content Assist in HTML files
Tern.java/AngularJS-eclipse are set up (by us) to work on any project that has JavaScript nature. But, as your example with phone-info.html demonstrates, AngularJS-eclipse cannot provide it's Content Assist facilities for any HTML file. The same situation is for the JBoss Tools one.
Particularly for Angular, we cannot provide Content Assist for any HTML file. AFAIK, we're detecting the referencing to angular.js script and usage of ng-* tag attributes, and provide Angular Content Assist and Palette for such files But often HTML files are used as templates, or are built using templates and might not contain any references to angular/don't use ng-* attributes, so we can't to be sure that we have to provide Angular Content Assist for such HTML pages.
We've planned some work due to make it possible to detect if Angular is used in a whole project, so, this may help with Content Assist for such HTML Files (where per-file Angular detection doesn't work), but this will not guarantee, that such project-wise detection will work smoothly right from the time of creating/importing test project.
bq. According to this http://tools.jboss.org/documentation/whatsnew/jbosstools/4.2.0.Beta2.html... AngularJS code completion should be available in JBoss Tools HTML editor.
The requirement to have at least JavaScript nature should be documented.
bq. Could you give me a project where I can test it please?
[~akazakov] Do you have a suitable test project for Vlado in order to test Angular-related text editing features01?
> Angular Code Assist doesn't work for angular phonecat app
> ---------------------------------------------------------
>
> Key: JBIDE-17676
> URL: https://issues.jboss.org/browse/JBIDE-17676
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jsp/jsf/xml/html source editing
> Affects Versions: 4.2.0.Beta2
> Environment: JBT 4.2.0.Beta2, Linux, AngulaJS for Eclipse installed from JBoss Central Early access
> Reporter: Vlado Pakan
> Assignee: Victor Rubezhny
> Fix For: 4.2.0.CR1
>
> Attachments: angular.png, phonecatControllers.png
>
>
> 1. Follow steps from JBIDE-16544 to import angular phonecat project
> 2. Open controllers.js in Java Script editor
> ERROR: There is no code assist for angular.| or phonecatControllers.|
> 3. Open phone-detail.html
> ERROR: There is no code assist for {{|}} or {{phone.|}}
> Is it not supported scenario?
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 11 months
[JBoss JIRA] (JBIDE-17826) Unable to run Aerogear Cordova project with CordovaSim
by Max Rydahl Andersen (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17826?page=com.atlassian.jira.plugi... ]
Max Rydahl Andersen updated JBIDE-17826:
----------------------------------------
Fix Version/s: 4.2.0.Beta3
(was: 4.2.0.CR1)
> Unable to run Aerogear Cordova project with CordovaSim
> ------------------------------------------------------
>
> Key: JBIDE-17826
> URL: https://issues.jboss.org/browse/JBIDE-17826
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid, browsersim
> Affects Versions: 4.2.0.Beta3
> Environment: Fedora 18 KDE 64bit
> JBDS 8.0.0.Beta3-v20140706-0939-B172 (jboss-devstudio-8.0.0.Beta3-v20140706-0939-B172-installer-eap.jar)
> Oracle JDK 1.8
> Reporter: Vlado Pakan
> Assignee: Ilya Buziuk
> Priority: Blocker
> Fix For: 4.2.0.Beta3
>
> Attachments: central-respinB.png, central.png
>
>
> 1. Import Hybrid Mobile Project from JBoss Central
> 2. Run it with CordovaSim
> ERROR:
> {noformat}
> no protocol: /home/vpakan/jbds800Beta3/studio/configuration
> Stack trace:
> java.net.MalformedURLException: no protocol: /home/vpakan/jbds800Beta3/studio/configuration
> at java.net.URL.<init>(URL.java:586)
> at java.net.URL.<init>(URL.java:483)
> at java.net.URL.<init>(URL.java:432)
> at org.jboss.tools.vpe.cordovasim.CordovaSimArgs.getPortFromURL(CordovaSimArgs.java:100)
> at org.jboss.tools.vpe.cordovasim.CordovaSimArgs.parseArgs(CordovaSimArgs.java:51)
> at org.jboss.tools.vpe.cordovasim.CordovaSimRunner.main(CordovaSimRunner.java:88)
> org.jboss.tools.vpe.cordovasim.model.preferences.CordavaSimSpecificPreferencesStorage.load()Ljava/lang/Object;
> Stack trace:
> java.lang.NoSuchMethodError: org.jboss.tools.vpe.cordovasim.model.preferences.CordavaSimSpecificPreferencesStorage.load()Ljava/lang/Object;
> at org.jboss.tools.vpe.cordovasim.CordovaSimRunner.loadPreferences(CordovaSimRunner.java:165)
> at org.jboss.tools.vpe.cordovasim.CordovaSimRunner.createCordovaSim(CordovaSimRunner.java:179)
> at org.jboss.tools.vpe.cordovasim.CordovaSimRunner.startCordovaSim(CordovaSimRunner.java:110)
> at org.jboss.tools.vpe.cordovasim.CordovaSimRunner.main(CordovaSimRunner.java:89)
> org.jboss.tools.vpe.cordavasim.command.stop.server: Server on port 0 was stopped
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 11 months
[JBoss JIRA] (JBIDE-17807) index.html of HTML5 kitchensink example is not displayed in VPE visual part
by Max Rydahl Andersen (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17807?page=com.atlassian.jira.plugi... ]
Max Rydahl Andersen commented on JBIDE-17807:
---------------------------------------------
I don't think we have a way to detect wether xulrunner is meant to show a blank page or not.
> index.html of HTML5 kitchensink example is not displayed in VPE visual part
> ---------------------------------------------------------------------------
>
> Key: JBIDE-17807
> URL: https://issues.jboss.org/browse/JBIDE-17807
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: visual-page-editor-core
> Affects Versions: 4.2.0.Beta3
> Environment: JBDS 8.0.0.Beta3-v20140706-0939-B172
> Linux
> SWT_GTK3=0
> Reporter: Vlado Pakan
> Assignee: Konstantin Marmalyukov
> Priority: Critical
> Fix For: 4.2.0.CR1
>
> Attachments: snapshot11.png, snapshot12.png, snapshot6.png, snapshot7.png, snapshot9.png, vpepreviewblank.png
>
>
> 1. Import HTML5 kitchensink project from JBoss Central
> 2. Open index.html in VPE
> ERROR: Visual part of VPE is blank
> HTML Preview is showing page properly.
> 3. Run JBT with arguments -vmargs -Dorg.jboss.tools.vpe.loadxulrunner=false
> ASSERT: Page is displayed correctly in Visual part of VPE
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 11 months