[JBoss JIRA] Created: (JBIDE-8832) Add to ITextSourceReference method getResource
by Viacheslav Kabanovich (JIRA)
Add to ITextSourceReference method getResource
----------------------------------------------
Key: JBIDE-8832
URL: https://issues.jboss.org/browse/JBIDE-8832
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: cdi (jsr-299), common
Affects Versions: 3.3.0.M1
Reporter: Viacheslav Kabanovich
Assignee: Viacheslav Kabanovich
Fix For: 3.3.0.M1
Beans defined with Seam Config XM, merge annotations declared in java and xml sources. When referencing objects in sources, it is not sufficient to define position, text reference should also keep the file reference. Clients (validator, open-on, etc) should use that file reference if available, rather than bean class file.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months
[JBoss JIRA] Created: (JBDS-1653) Eclipse 3.7M6 basebuilder does not resolve ant's componentdef in antlib.xml (Ant 1.8.2)
by Nick Boldt (JIRA)
Eclipse 3.7M6 basebuilder does not resolve ant's componentdef in antlib.xml (Ant 1.8.2)
---------------------------------------------------------------------------------------
Key: JBDS-1653
URL: https://issues.jboss.org/browse/JBDS-1653
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Components: Build, installer, P2 Enabled Product
Affects Versions: 5.0.0.M1
Reporter: Nick Boldt
Assignee: Nick Boldt
Priority: Blocker
Fix For: 5.0.0.M2
check.archive:
[echo] Checking the requirement's archive org.eclipse.releng.basebuilder_R37_M6.zip
[echo] Archive has not downloaded yet, download required
download.archive:
[download eclipse-basebuilder] Getting: http://download.jboss.org/jbosstools/requirements/indigo/org.eclipse.rele...
[download eclipse-basebuilder] To: /qa/services/hudson/hudson_workspace/workspace/devstudio-5.0_trunk.product/jbds-build/requirements/eclipse-basebuilder/org.eclipse.releng.basebuilder_R37_M6.zip
post.download.requirement:
unzip.archive:
unpack-zip:
[unzip] Expanding: /qa/services/hudson/hudson_workspace/workspace/devstudio-5.0_trunk.product/jbds-build/requirements/eclipse-basebuilder/org.eclipse.releng.basebuilder_R37_M6.zip into /qa/services/hudson/hudson_workspace/workspace/devstudio-5.0_trunk.product/jbds-build
post.unpack.requirement:
build.driver:
build.requirement:
[echo] load properties from /qa/services/hudson/hudson_workspace/workspace/devstudio-5.0_trunk.product/org.jboss.ide.eclipse.releng/requirements/eclipse-basebuilder/return.properties
do-build:
build-product:
nightly:
build:
[mkdir] Created dir: /qa/services/hudson/hudson_workspace/workspace/devstudio-5.0_trunk.product/jbds-build/5.0.0.M1/201105022353
[mkdir] Created dir: /qa/services/hudson/hudson_workspace/workspace/devstudio-5.0_trunk.product/jbds-build/5.0.0.M1/201105022353/all
[mkdir] Created dir: /qa/services/hudson/hudson_workspace/workspace/devstudio-5.0_trunk.product/jbds-build/5.0.0.M1/201105022353/bundle
[delete] Deleting directory /qa/services/hudson/hudson_workspace/workspace/devstudio-5.0_trunk.product/jbds-build/5.0.0.M1
[echo] Building product-package
[echo] Building jbdevstudio with build type 'product-package'
jbds-all:
getEclipseBaseBuilder:
[echo] load properties from /qa/services/hudson/hudson_workspace/workspace/devstudio-5.0_trunk.product/org.jboss.ide.eclipse.releng/requirements/eclipse-basebuilder/return.properties
main:
[java] An error has occurred. See the log file
[java] /qa/services/hudson/hudson_workspace/workspace/devstudio-5.0_trunk.product/jbds-build/workspace/.metadata/.log.
[java] Java Result: 13
[echo] error-code=13
[mkdir] Created dir: /qa/services/hudson/hudson_workspace/workspace/devstudio-5.0_trunk.product/jbds-build/5.0.0.M1/201105022353
BUILD FAILED
/qa/services/hudson/hudson_workspace/workspace/devstudio-5.0_trunk.product/org.jboss.ide.eclipse.releng/builders/buildNightly.xml:18: The following error occurred while executing this line:
/qa/services/hudson/hudson_workspace/workspace/devstudio-5.0_trunk.product/org.jboss.ide.eclipse.releng/builders/build.xml:68: The following error occurred while executing this line:
/qa/services/hudson/hudson_workspace/workspace/devstudio-5.0_trunk.product/org.jboss.ide.eclipse.releng/builders/build.xml:27: The following error occurred while executing this line:
/qa/services/hudson/hudson_workspace/workspace/devstudio-5.0_trunk.product/org.jboss.ide.eclipse.releng/builders/build.xml:39: The following error occurred while executing this line:
/qa/services/hudson/hudson_workspace/workspace/devstudio-5.0_trunk.product/org.jboss.ide.eclipse.releng/builders/product/productBuild.xml:103: The following error occurred while executing this line:
/qa/services/hudson/hudson_workspace/workspace/devstudio-5.0_trunk.product/org.jboss.ide.eclipse.releng/builders/product/productBuild.xml:164: The following error occurred while executing this line:
/qa/services/hudson/hudson_workspace/workspace/devstudio-5.0_trunk.product/org.jboss.ide.eclipse.releng/builders/builder-wrap.xml:396: BUILD FAILED with return code 13.
Compile errors (if any):
=========================================================
BUILD FAILED
/qa/services/hudson/hudson_workspace/workspace/devstudio-5.0_trunk.product/org.jboss.ide.eclipse.releng/builders/product/productBuild.xml:3: The following error occurred while executing this line:
jar:file:/qa/services/hudson/hudson_workspace/workspace/devstudio-5.0_trunk.product/jbds-build/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.8.2.v20110117-1200/lib/ant.jar!/org/apache/tools/ant/antlib.xml:37: Problem: failed to create task or type componentdef
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months
[JBoss JIRA] Created: (JBIDE-5535) New Web Service
by Burr Sutter (JIRA)
New Web Service
---------------
Key: JBIDE-5535
URL: https://jira.jboss.org/jira/browse/JBIDE-5535
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Reporter: Burr Sutter
Attachments: New_WebService_Wizard.jpg, New_Wizard.jpg
There should be a New Web Service Project wizard (the same as New Dynamic Web Project) and a New Web Service component wizard.
The New Web Service Project wizard creates the exact same thing as New Dynamic Web Project but with HelloWorldWS.java containing the following:
package com.jboss.lab;
import javax.jws.WebMethod;
import javax.jws.WebService;
@WebService
public class MyWebService {
@WebMethod
public String sayHello(String name) {
return "Hello2 " + name + "!";
}
}
And the appropriate entries in the web.xml.
<servlet>
<servlet-name>MyWebServiceServlet</servlet-name>
<servlet-class>com.jboss.lab.MyWebService</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>MyWebServiceServlet</servlet-name>
<url-pattern>/MyWebService</url-pattern>
</servlet-mapping>
See screenshots for current functionality.
This suggestion is based on how Visual Studio handles this scenario. For a New Web Service or New Web Service project, it drops in the annotated mywebservice.asmx automatically. You can deploy the project/component immediately without further editing.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months
[JBoss JIRA] Created: (JBIDE-7923) Allow user to re-create the Top-down web service
by Lukas Jungmann (JIRA)
Allow user to re-create the Top-down web service
------------------------------------------------
Key: JBIDE-7923
URL: https://issues.jboss.org/browse/JBIDE-7923
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Webservices
Reporter: Lukas Jungmann
Assignee: Brian Fitzpatrick
Priority: Minor
use case:
-have a dynamic web project with some messed up implementation of a web service from wsdl
-goal is to recreate the service - regenerate artifacts from wsdl, replace current ws implementation class with new, empty one and readd entries into web.xml if needed
current approach:
-user has to clean everything manually - delete entries from DD, delete generated classes, delete service implementation class and rerun the new web service wizard
suggested approach:
-allow user to rerun the web service wizard for service existing in the project asking him if he wants to re-create it and if so then rerun the wsconsume, recreate service impl class and update DD. All these steps should be presented to the user (by default all would be on) and user should be allowed to choose which of them he wants the IDE to do
and/or
-provide some context sensitive action for this somewhere in the IDE, perhaps service node in project explorer view looks like a good candidate for this
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months
[JBoss JIRA] Created: (JBDS-1440) Smooks Java-To-XML FreeMarker Fails in ESB
by Will Dinyes (JIRA)
Smooks Java-To-XML FreeMarker Fails in ESB
------------------------------------------
Key: JBDS-1440
URL: https://jira.jboss.org/browse/JBDS-1440
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Components: SOA Platform
Affects Versions: 4.0.0.Beta1
Environment: java-1.6.0-sun-devel, JBDS 4.0.0.Beta1
Reporter: Will Dinyes
I created a smooks-java-to-xml.xml (attached) config via the Smooks tooling in JBDS to translate a simple bean (.java file attached) back to XML via Apply Template with an XSD (attached).
When deploying this to SOA-P and then running a test, I get the following exception (in part, full exception stack attached):
freemarker.core.InvalidReferenceException: Expression .vars["com"] is undefined on line 3, column 21 in free-marker-template.
freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
freemarker.core.DynamicKeyName._getAsTemplateModel(DynamicKeyName.java:75)
freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
freemarker.core.Expression.getStringValue(Expression.java:93)
freemarker.core.DollarVariable.accept(DollarVariable.java:76)
freemarker.core.Environment.visit(Environment.java:208)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:208)
freemarker.core.Environment.process(Environment.java:188)
freemarker.template.Template.process(Template.java:232)
This seems to be a missing descriptor or library that isn't deployed to the server? Not sure what's causing this. Maybe Smooks Java-to-XML isn't something we can do through the tooling at this time?
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months
[JBoss JIRA] Created: (JBIDE-8337) Web Knowledge Base plugin throws NullPointerException on exit
by Denis Golovin (JIRA)
Web Knowledge Base plugin throws NullPointerException on exit
-------------------------------------------------------------
Key: JBIDE-8337
URL: https://issues.jboss.org/browse/JBIDE-8337
Project: Tools (JBoss Tools)
Issue Type: Bug
Environment: Eclipse IDE for Java EE Developers with JBT JBossAS, Seam, Richfaces installed from Development update site
Reporter: Denis Golovin
{noformat}
java.lang.NullPointerException
at org.jboss.tools.jst.web.kb.WebKbPlugin.cleanObsoleteFiles(WebKbPlugin.java:96)
at org.jboss.tools.jst.web.kb.WebKbPlugin.access$0(WebKbPlugin.java:92)
at org.jboss.tools.jst.web.kb.WebKbPlugin$1.saving(WebKbPlugin.java:77)
at org.eclipse.core.internal.resources.SaveManager.executeLifecycle(SaveManager.java:361)
at org.eclipse.core.internal.resources.SaveManager$1.run(SaveManager.java:170)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.resources.SaveManager.broadcastLifecycle(SaveManager.java:173)
at org.eclipse.core.internal.resources.SaveManager.save(SaveManager.java:1108)
at org.eclipse.core.internal.resources.SaveManager.save(SaveManager.java:1087)
at org.eclipse.core.internal.resources.DelayedSnapshotJob.run(DelayedSnapshotJob.java:44)
at org.eclipse.core.internal.resources.SaveManager.shutdown(SaveManager.java:1366)
at org.eclipse.core.internal.resources.Workspace.close(Workspace.java:428)
at org.eclipse.core.resources.ResourcesPlugin.stop(ResourcesPlugin.java:383)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:843)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:836)
at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:501)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:550)
at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1097)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:597)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:266)
at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:690)
at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:588)
at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:415)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:198)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
{noformat}
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months