[JBoss JIRA] (JBIDE-10239) Support JAX-RS Path/PathParam refactoring
by Xavier Coulon (Created) (JIRA)
Support JAX-RS Path/PathParam refactoring
-----------------------------------------
Key: JBIDE-10239
URL: https://issues.jboss.org/browse/JBIDE-10239
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: Webservices
Affects Versions: 3.3.0.M4
Reporter: Xavier Coulon
Assignee: Xavier Coulon
Priority: Minor
When refactoring code like the one below:
{code}
@GET
@Path("{id}")
public Response getCustomer(@PathParam("id") Integer id, @Context UriInfo uriInfo) {
ResponseBuilder responseBuilder = Response.ok().entity(null);
return responseBuilder.build();
}
{code)
If changing the 'id' name of the first parameter, the user may also want to rename the @PathParam and @Path values to keep the consistency.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months
[JBoss JIRA] Created: (JBIDE-8993) Unable to run DroolTest.java because of missing org.eclipse.jdt.core*.jar in project classpath
by Vlado Pakan (JIRA)
Unable to run DroolTest.java because of missing org.eclipse.jdt.core*.jar in project classpath
----------------------------------------------------------------------------------------------
Key: JBIDE-8993
URL: https://issues.jboss.org/browse/JBIDE-8993
Project: Tools (JBoss Tools)
Issue Type: Bug
Affects Versions: 3.3.0.M1
Environment: Linux 32bit, Sun JDK 1.6_25, jbosstools-3.3.0.M1a.aggregate-Update-2011-05-11_15-56-28-H2359
Reporter: Vlado Pakan
Priority: Critical
Fix For: 3.3.0.M1
When creating new Drools Runtime from Drools plugin bundled to JBT org.eclipse.jdt.core*.jar file is not included in this runtime and therefore when running DroolTest.java this error is displayed in console:
org.drools.RuntimeDroolsException: Unable to load dialect 'org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java:org.drools.rule.builder.dialect.java.JavaDialectConfiguration'
at org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:277)
at org.drools.compiler.PackageBuilderConfiguration.buildDialectConfigurationMap(PackageBuilderConfiguration.java:262)
at org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:175)
at org.drools.compiler.PackageBuilderConfiguration.<init>(PackageBuilderConfiguration.java:153)
at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:218)
at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:146)
at org.drools.builder.impl.KnowledgeBuilderFactoryServiceImpl.newKnowledgeBuilder(KnowledgeBuilderFactoryServiceImpl.java:34)
at org.drools.builder.KnowledgeBuilderFactory.newKnowledgeBuilder(KnowledgeBuilderFactory.java:46)
at com.sample.DroolsTest.readKnowledgeBase(DroolsTest.java:39)
at com.sample.DroolsTest.main(DroolsTest.java:23)
Caused by: java.lang.RuntimeException: The Eclipse JDT Core jar is not in the classpath
at org.drools.rule.builder.dialect.java.JavaDialectConfiguration.setCompiler(JavaDialectConfiguration.java:93)
at org.drools.rule.builder.dialect.java.JavaDialectConfiguration.init(JavaDialectConfiguration.java:54)
at org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:273)
... 9 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months