[JBoss JIRA] (JBIDE-15114) Check if versions has been bumped for all modified components
by Jiri Peterka (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15114?page=com.atlassian.jira.plugi... ]
Jiri Peterka closed JBIDE-15114.
--------------------------------
Max, regular checks are done. All criteria pass for Beta1b. We have no mechanism yet to check if all desired bundles bumped their version. What we can check is this:
* bundle version is higher or equal than previous build
* no multiple version bundles (ignore list applied)
* only folder or jar bundle is present
* md5 for same version bundle correspond
> Check if versions has been bumped for all modified components
> -------------------------------------------------------------
>
> Key: JBIDE-15114
> URL: https://issues.jboss.org/browse/JBIDE-15114
> Project: Tools (JBoss Tools)
> Issue Type: Task
> Components: build
> Reporter: Max Rydahl Andersen
> Assignee: Jiri Peterka
> Priority: Blocker
> Labels: respin-b
> Fix For: 4.1.1.Beta1
>
> Attachments: output.html, output.html, vwatch-cr1.html
>
>
> Can you run and attach the report for versions check for JBDS/JBT so we can verify all modules have been properly bumped ?
--
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, 5 months
[JBoss JIRA] (JBIDE-15881) Annotated field with QueryParam missing in URL Endpoint template
by Xavier Coulon (JIRA)
Xavier Coulon created JBIDE-15881:
-------------------------------------
Summary: Annotated field with QueryParam missing in URL Endpoint template
Key: JBIDE-15881
URL: https://issues.jboss.org/browse/JBIDE-15881
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: webservices
Affects Versions: 4.1.0.Final
Reporter: Xavier Coulon
Assignee: Xavier Coulon
Fix For: 4.2.0.Alpha1
Take the following classes:
{code}
@Path("/products")
public class ProductResourceLocator {
@QueryParam("foo1")
private String foo2;
@Path("/{productType}")
public Object getProductResourceLocator() {
return new BookResource();
}
}
{code}
and
{code}
@Produces({ MediaType.APPLICATION_XML, "application/json" })
public class BookResource {
@GET
@Path("/{id}")
@Produces({ "application/xml", "application/json" })
public Book getProduct(@PathParam("id") Integer id) {
return null;
}
}
{code}
ASSERT: the URL Template for the Endpoint should be something like
/products/{productType}/{id}?foo1={String}
--
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, 5 months
[JBoss JIRA] (JBIDE-15600) MatrixParam and QueryParam field names are used instead of the annotation values
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15600?page=com.atlassian.jira.plugi... ]
Xavier Coulon commented on JBIDE-15600:
---------------------------------------
[~rrabara],
you should rather use this code for now:
{code}
@Produces({ MediaType.APPLICATION_XML, "application/json" })
public class BookResource {
@GET
@Path("/{id}")
@Produces({ "application/xml", "application/json" })
public Book getProduct(@PathParam("id") Integer id, @QueryParam("foo1")
String foo2
) {
return null;
}
}
{code}
> MatrixParam and QueryParam field names are used instead of the annotation values
> --------------------------------------------------------------------------------
>
> Key: JBIDE-15600
> URL: https://issues.jboss.org/browse/JBIDE-15600
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.1.0.Final
> Reporter: Xavier Coulon
> Assignee: Xavier Coulon
> Fix For: 4.1.1.Beta1
>
> Attachments: urlTemplateWithoutQueryParam.jpg
>
>
> Take the following classes:
> {code}
> @Path("/products")
> public class ProductResourceLocator {
> @QueryParam("foo1")
> private String foo2;
> @Path("/{productType}")
> public Object getProductResourceLocator() {
> return new BookResource();
> }
> }
> {code}
> and
> {code}
> @Produces({ MediaType.APPLICATION_XML, "application/json" })
> public class BookResource {
> @GET
> @Path("/{id}")
> @Produces({ "application/xml", "application/json" })
> public Book getProduct(@PathParam("id") Integer id) {
> return null;
> }
> }
> {code}
> ASSERT: the URL Template for the Endpoint should be something like
> {code}
> /products/{productType}/{id}?foo1={String}
> {code}
> FAIL: the URL Template for the Endpoint should be something like
> {code}
> /products/{productType}/{id}?foo2={String}
> {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, 5 months
[JBoss JIRA] (JBIDE-15764) NPE while generating entities in JPA project
by Jiri Peterka (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15764?page=com.atlassian.jira.plugi... ]
Jiri Peterka commented on JBIDE-15764:
--------------------------------------
Verification build details:
Version: 7.1.0.Beta1 (respin-b)
Build id: Beta1-v20131102-1529-B493
Build date: 20131102-1529
> NPE while generating entities in JPA project
> --------------------------------------------
>
> Key: JBIDE-15764
> URL: https://issues.jboss.org/browse/JBIDE-15764
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate
> Affects Versions: 4.1.1.Beta1
> Environment: JBDS 7.1.0.Beta1, L64, OpenJDK 1.6
> Reporter: Jiri Peterka
> Assignee: Koen Aers
> Labels: respin-b
> Fix For: 4.1.1.Beta1
>
>
> java.lang.NullPointerException
> at org.jboss.tools.hibernate.jpt.core.internal.context.AddGeneratedClassesJob$2.evaluate(AddGeneratedClassesJob.java:133)
> at org.jboss.tools.hibernate.jpt.core.internal.context.AddGeneratedClassesJob$2.evaluate(AddGeneratedClassesJob.java:1)
> at org.eclipse.jpt.common.utility.internal.iterator.FilteringIterator.loadNext(FilteringIterator.java:80)
> at org.eclipse.jpt.common.utility.internal.iterator.FilteringIterator.<init>(FilteringIterator.java:56)
> at org.eclipse.jpt.common.utility.internal.iterator.IteratorTools.filter(IteratorTools.java:758)
> at org.eclipse.jpt.common.utility.internal.iterable.FilteringIterable.iterator(FilteringIterable.java:48)
> at org.eclipse.jpt.common.utility.internal.iterable.TransformationIterable.iterator(TransformationIterable.java:50)
> at org.eclipse.jpt.common.utility.internal.iterable.IterableTools.size(IterableTools.java:301)
> at org.jboss.tools.hibernate.jpt.core.internal.context.AddGeneratedClassesJob.addNewClassRefs(AddGeneratedClassesJob.java:99)
> at org.jboss.tools.hibernate.jpt.core.internal.context.AddGeneratedClassesJob.runInWorkspace(AddGeneratedClassesJob.java:90)
> at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
--
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, 5 months
[JBoss JIRA] (JBIDE-15764) NPE while generating entities in JPA project
by Jiri Peterka (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15764?page=com.atlassian.jira.plugi... ]
Jiri Peterka closed JBIDE-15764.
--------------------------------
NPE is gone, verified with JBDS 7.1.0.Beta1, L64
> NPE while generating entities in JPA project
> --------------------------------------------
>
> Key: JBIDE-15764
> URL: https://issues.jboss.org/browse/JBIDE-15764
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate
> Affects Versions: 4.1.1.Beta1
> Environment: JBDS 7.1.0.Beta1, L64, OpenJDK 1.6
> Reporter: Jiri Peterka
> Assignee: Koen Aers
> Labels: respin-b
> Fix For: 4.1.1.Beta1
>
>
> java.lang.NullPointerException
> at org.jboss.tools.hibernate.jpt.core.internal.context.AddGeneratedClassesJob$2.evaluate(AddGeneratedClassesJob.java:133)
> at org.jboss.tools.hibernate.jpt.core.internal.context.AddGeneratedClassesJob$2.evaluate(AddGeneratedClassesJob.java:1)
> at org.eclipse.jpt.common.utility.internal.iterator.FilteringIterator.loadNext(FilteringIterator.java:80)
> at org.eclipse.jpt.common.utility.internal.iterator.FilteringIterator.<init>(FilteringIterator.java:56)
> at org.eclipse.jpt.common.utility.internal.iterator.IteratorTools.filter(IteratorTools.java:758)
> at org.eclipse.jpt.common.utility.internal.iterable.FilteringIterable.iterator(FilteringIterable.java:48)
> at org.eclipse.jpt.common.utility.internal.iterable.TransformationIterable.iterator(TransformationIterable.java:50)
> at org.eclipse.jpt.common.utility.internal.iterable.IterableTools.size(IterableTools.java:301)
> at org.jboss.tools.hibernate.jpt.core.internal.context.AddGeneratedClassesJob.addNewClassRefs(AddGeneratedClassesJob.java:99)
> at org.jboss.tools.hibernate.jpt.core.internal.context.AddGeneratedClassesJob.runInWorkspace(AddGeneratedClassesJob.java:90)
> at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
--
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, 5 months