[JBoss JIRA] (JBDS-4740) Add a build slave that is capable of building Flatpak versions of Eclipse products
by Ondrej Dockal (Jira)
[ https://issues.jboss.org/browse/JBDS-4740?page=com.atlassian.jira.plugin.... ]
Ondrej Dockal commented on JBDS-4740:
-------------------------------------
[~mat.booth] There is another credentials used. I would share those in some private channel (mattermost PM) if you would like to set it up yourself, or you can actually start one instance over jenkins and then use some tools to get into it (ssh, vnc). Or I can create one instance just for your use (and give you credentials to get into it). It is up to you.
Or the last option just crossed my mind, provide some steps to verify functionality, and I can do it myself. (I do not prefer this one actually :) ).
Yeah, I do not see much troubles in this functionality installed, depends on your needs. If you are happy with what have you seen so far, we can resolve the jira and if you will encounter some problems, reopen this one or create a new one, wdyt?
> Add a build slave that is capable of building Flatpak versions of Eclipse products
> ----------------------------------------------------------------------------------
>
> Key: JBDS-4740
> URL: https://issues.jboss.org/browse/JBDS-4740
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Task
> Components: build
> Reporter: Mat Booth
> Assignee: Mat Booth
> Priority: Major
>
> I'm filing a Jira ticket as suggested in Mattermost.
> In order to explore shipping our Eclipse-based products as Flatpak applications, (initially SCL and maybe eventually also JBDS) I need a build slave for the Jenkins[1] that is capable of generating Flatpaks.
> The newly released RHEL 7.6 has a sufficiently new version of *flatpak* and *flatpak-builder* packages. Please also ensure there is *java-1.8.0-openjdk-devel* and a recent maven installed.
> Please consider adding such a builder.
> [1] https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 4 months
[JBoss JIRA] (JBIDE-26458) Import Entities from DB with ManyToMany relationships doesn't manage mappedBy
by Matt B (Jira)
[ https://issues.jboss.org/browse/JBIDE-26458?page=com.atlassian.jira.plugi... ]
Matt B updated JBIDE-26458:
---------------------------
Description:
Import from entities tool does not correctly handle the bidirectional ManyToMany relationships because in some cases it does not define mappedBy on one side.
example:
{code:java}
public class SecGroup implements java.io.Serializable {
....
@ManyToMany(fetch = FetchType.LAZY)
@JoinTable(name = "SecGroupUser", schema = "dbm", joinColumns = {
@JoinColumn(name = "GroupId", nullable = false, updatable = false) }, inverseJoinColumns = {
@JoinColumn(name = "UserId", nullable = false, updatable = false) })
public Set<SsUsers> getSsUserses() {
return this.ssUserses;
}
....
}
public class SsUsers implements java.io.Serializable {
...
@ManyToMany(fetch = FetchType.LAZY)
@JoinTable(name = "SecGroupUser", schema = "dbm", joinColumns = {
@JoinColumn(name = "UserId", nullable = false, updatable = false) }, inverseJoinColumns = {
@JoinColumn(name = "GroupId", nullable = false, updatable = false) })
public Set<SecGroup> getSecGroups() {
return this.secGroups;
}
...
}
{code}
It must be for example
{code:java}
public class SecGroup implements java.io.Serializable {
....
@ManyToMany(fetch = FetchType.LAZY, mappedBy = "secGroups")
public Set<SsUsers> getSsUserses() {
return this.ssUserses;
}
....
}
public class SsUsers implements java.io.Serializable {
...
@ManyToMany(fetch = FetchType.LAZY)
@JoinTable(name = "SecGroupUser", schema = "dbm", joinColumns = {
@JoinColumn(name = "UserId", nullable = false, updatable = false) }, inverseJoinColumns = {
@JoinColumn(name = "GroupId", nullable = false, updatable = false) })
public Set<SecGroup> getSecGroups() {
return this.secGroups;
}
...
}
{code}
was:
Import from entities tool does not correctly handle the bidirectional ManyToMany relationships because in some cases it does not define mappedBy on one side.
example:
public class SecGroup implements java.io.Serializable {
....
@ManyToMany(fetch = FetchType.LAZY)
@JoinTable(name = "SecGroupUser", schema = "dbm", joinColumns = {
@JoinColumn(name = "GroupId", nullable = false, updatable = false) }, inverseJoinColumns = {
@JoinColumn(name = "UserId", nullable = false, updatable = false) })
public Set<SsUsers> getSsUserses() {
return this.ssUserses;
}
....
}
public class SsUsers implements java.io.Serializable {
...
@ManyToMany(fetch = FetchType.LAZY)
@JoinTable(name = "SecGroupUser", schema = "dbm", joinColumns = {
@JoinColumn(name = "UserId", nullable = false, updatable = false) }, inverseJoinColumns = {
@JoinColumn(name = "GroupId", nullable = false, updatable = false) })
public Set<SecGroup> getSecGroups() {
return this.secGroups;
}
...
}
It must be for example
public class SecGroup implements java.io.Serializable {
....
@ManyToMany(fetch = FetchType.LAZY, mappedBy = "secGroups")
public Set<SsUsers> getSsUserses() {
return this.ssUserses;
}
....
}
public class SsUsers implements java.io.Serializable {
...
@ManyToMany(fetch = FetchType.LAZY)
@JoinTable(name = "SecGroupUser", schema = "dbm", joinColumns = {
@JoinColumn(name = "UserId", nullable = false, updatable = false) }, inverseJoinColumns = {
@JoinColumn(name = "GroupId", nullable = false, updatable = false) })
public Set<SecGroup> getSecGroups() {
return this.secGroups;
}
...
}
> Import Entities from DB with ManyToMany relationships doesn't manage mappedBy
> -----------------------------------------------------------------------------
>
> Key: JBIDE-26458
> URL: https://issues.jboss.org/browse/JBIDE-26458
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate
> Affects Versions: 4.6.0.Final
> Environment: Eclipse: Oxygen.3a Release (4.7.3a) Build id: 20180405-1200
> DBMS: Sql Anywhere 17.0.9.4857
> Annotations jdk 1.5+
> Hibernate Version 5.2
> Reporter: Matt B
> Priority: Major
>
> Import from entities tool does not correctly handle the bidirectional ManyToMany relationships because in some cases it does not define mappedBy on one side.
> example:
> {code:java}
> public class SecGroup implements java.io.Serializable {
> ....
> @ManyToMany(fetch = FetchType.LAZY)
> @JoinTable(name = "SecGroupUser", schema = "dbm", joinColumns = {
> @JoinColumn(name = "GroupId", nullable = false, updatable = false) }, inverseJoinColumns = {
> @JoinColumn(name = "UserId", nullable = false, updatable = false) })
> public Set<SsUsers> getSsUserses() {
> return this.ssUserses;
> }
> ....
> }
> public class SsUsers implements java.io.Serializable {
> ...
> @ManyToMany(fetch = FetchType.LAZY)
> @JoinTable(name = "SecGroupUser", schema = "dbm", joinColumns = {
> @JoinColumn(name = "UserId", nullable = false, updatable = false) }, inverseJoinColumns = {
> @JoinColumn(name = "GroupId", nullable = false, updatable = false) })
> public Set<SecGroup> getSecGroups() {
> return this.secGroups;
> }
> ...
> }
> {code}
> It must be for example
> {code:java}
> public class SecGroup implements java.io.Serializable {
> ....
> @ManyToMany(fetch = FetchType.LAZY, mappedBy = "secGroups")
> public Set<SsUsers> getSsUserses() {
> return this.ssUserses;
> }
> ....
> }
> public class SsUsers implements java.io.Serializable {
> ...
> @ManyToMany(fetch = FetchType.LAZY)
> @JoinTable(name = "SecGroupUser", schema = "dbm", joinColumns = {
> @JoinColumn(name = "UserId", nullable = false, updatable = false) }, inverseJoinColumns = {
> @JoinColumn(name = "GroupId", nullable = false, updatable = false) })
> public Set<SecGroup> getSecGroups() {
> return this.secGroups;
> }
> ...
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 4 months
[JBoss JIRA] (JBDS-4743) When saving an xhtml file, getting JSF error popup
by Fabi Yo (Jira)
[ https://issues.jboss.org/browse/JBDS-4743?page=com.atlassian.jira.plugin.... ]
Fabi Yo commented on JBDS-4743:
-------------------------------
[~jeffmaury] Added log file.
Snippet from log file:
!ENTRY org.eclipse.core.jobs 4 2 2018-11-07 12:48:03.076
!MESSAGE An internal error occurred during: "Refreshing JSF information about: L/monitor/src/main/webapp/management/fieldWizard.xhtml".
!STACK 0
java.lang.NullPointerException
at org.eclipse.jst.jsp.core.internal.contenttype.DeploymentDescriptorPropertyCache.getRelevantWebXMLPath(DeploymentDescriptorPropertyCache.java:934)
at org.eclipse.jst.jsp.core.internal.contenttype.DeploymentDescriptorPropertyCache.getCachedDescriptor(DeploymentDescriptorPropertyCache.java:820)
at org.eclipse.jst.jsp.core.internal.contenttype.DeploymentDescriptorPropertyCache.getJSPVersion(DeploymentDescriptorPropertyCache.java:867)
at org.eclipse.jst.jsp.core.taglib.ProjectDescription.getAvailableTaglibRecords(ProjectDescription.java:1183)
at org.eclipse.jst.jsp.core.taglib.TaglibIndex.internalGetAvailableTaglibRecords(TaglibIndex.java:864)
at org.eclipse.jst.jsp.core.taglib.TaglibIndex.getAvailableTaglibRecords(TaglibIndex.java:495)
at org.eclipse.jst.jsf.core.metadata.internal.TaglibMetaDataLocator.locateMetaDataModelProviders(TaglibMetaDataLocator.java:69)
at org.eclipse.jst.jsf.common.metadata.internal.DomainLoadingStrategy.locateMetaDataSourceInstances(DomainLoadingStrategy.java:143)
at org.eclipse.jst.jsf.common.metadata.internal.DomainLoadingStrategy.load(DomainLoadingStrategy.java:55)
at org.eclipse.jst.jsf.common.metadata.internal.MetaDataModel.load(MetaDataModel.java:93)
at org.eclipse.jst.jsf.common.metadata.internal.MetaDataModelManager.loadMetadata(MetaDataModelManager.java:150)
at org.eclipse.jst.jsf.common.metadata.internal.MetaDataModelManager.getModel(MetaDataModelManager.java:93)
at org.eclipse.jst.jsf.common.metadata.query.internal.MetaDataQueryHelper.getMDModel(MetaDataQueryHelper.java:124)
at org.eclipse.jst.jsf.common.metadata.query.internal.MetaDataQueryHelper.getModel(MetaDataQueryHelper.java:59)
at org.eclipse.jst.jsf.common.metadata.query.internal.MetaDataQueryHelper.getEntities(MetaDataQueryHelper.java:69)
at org.eclipse.jst.jsf.common.metadata.query.internal.MetaDataQueryHelper.getEntity(MetaDataQueryHelper.java:64)
at org.eclipse.jst.jsf.designtime.internal.jsp.JSPModelProcessor$SymbolContribAggregator.create(JSPModelProcessor.java:781)
at org.eclipse.jst.jsf.designtime.internal.jsp.JSPModelProcessor$SymbolContribAggregator.access$0(JSPModelProcessor.java:773)
at org.eclipse.jst.jsf.designtime.internal.jsp.JSPModelProcessor.processSymbolContrib(JSPModelProcessor.java:534)
at org.eclipse.jst.jsf.designtime.internal.jsp.JSPModelProcessor.processAttributes(JSPModelProcessor.java:524)
at org.eclipse.jst.jsf.designtime.internal.jsp.JSPModelProcessor.recurseChildNodes(JSPModelProcessor.java:506)
at org.eclipse.jst.jsf.designtime.internal.jsp.JSPModelProcessor.refreshInternal(JSPModelProcessor.java:492)
at org.eclipse.jst.jsf.designtime.internal.jsp.JSPModelProcessor.access$3(JSPModelProcessor.java:474)
at org.eclipse.jst.jsf.designtime.internal.jsp.JSPModelProcessor$RefreshRunnable.run(JSPModelProcessor.java:447)
at org.eclipse.jst.jsf.designtime.internal.jsp.JSPModelProcessor$3.runInWorkspace(JSPModelProcessor.java:389)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:42)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> When saving an xhtml file, getting JSF error popup
> --------------------------------------------------
>
> Key: JBDS-4743
> URL: https://issues.jboss.org/browse/JBDS-4743
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: jsf
> Affects Versions: 12.9.0.GA
> Environment: JBDS 12.9 on macOS mojave
> Reporter: Fabi Yo
> Assignee: Jeff MAURY
> Priority: Major
> Fix For: 12.10.0.AM1
>
> Attachments: Schermafbeelding 2018-11-07 om 9.42.32 AM.png, fieldWizard.xhtml, log.txt
>
>
> I am working on an xhtml file which contains JSF tags. I can work normally in it. After a while (random) when I save an xhtml file, I get this popup saying:
> 'Refreshing JSF information about: ..... '
> An internal error occured.
> The problem is, from the moment i get it, it doesn't stop. After a while it gets very annoying.
> I wish I could tell you more, but the error popup is quite vague...
> See more info in the picture in attachment
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 4 months
[JBoss JIRA] (JBDS-4743) When saving an xhtml file, getting JSF error popup
by Fabi Yo (Jira)
[ https://issues.jboss.org/browse/JBDS-4743?page=com.atlassian.jira.plugin.... ]
Fabi Yo updated JBDS-4743:
--------------------------
Attachment: log.txt
> When saving an xhtml file, getting JSF error popup
> --------------------------------------------------
>
> Key: JBDS-4743
> URL: https://issues.jboss.org/browse/JBDS-4743
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: jsf
> Affects Versions: 12.9.0.GA
> Environment: JBDS 12.9 on macOS mojave
> Reporter: Fabi Yo
> Assignee: Jeff MAURY
> Priority: Major
> Fix For: 12.10.0.AM1
>
> Attachments: Schermafbeelding 2018-11-07 om 9.42.32 AM.png, fieldWizard.xhtml, log.txt
>
>
> I am working on an xhtml file which contains JSF tags. I can work normally in it. After a while (random) when I save an xhtml file, I get this popup saying:
> 'Refreshing JSF information about: ..... '
> An internal error occured.
> The problem is, from the moment i get it, it doesn't stop. After a while it gets very annoying.
> I wish I could tell you more, but the error popup is quite vague...
> See more info in the picture in attachment
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 4 months
[JBoss JIRA] (JBDS-4743) When saving an xhtml file, getting JSF error popup
by Jeff MAURY (Jira)
[ https://issues.jboss.org/browse/JBDS-4743?page=com.atlassian.jira.plugin.... ]
Jeff MAURY commented on JBDS-4743:
----------------------------------
Cannot reproduce with your file but that may be related to the env. Can you send the Eclipse log file ?
> When saving an xhtml file, getting JSF error popup
> --------------------------------------------------
>
> Key: JBDS-4743
> URL: https://issues.jboss.org/browse/JBDS-4743
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: jsf
> Affects Versions: 12.9.0.GA
> Environment: JBDS 12.9 on macOS mojave
> Reporter: Fabi Yo
> Assignee: Jeff MAURY
> Priority: Major
> Fix For: 12.10.0.AM1
>
> Attachments: Schermafbeelding 2018-11-07 om 9.42.32 AM.png, fieldWizard.xhtml
>
>
> I am working on an xhtml file which contains JSF tags. I can work normally in it. After a while (random) when I save an xhtml file, I get this popup saying:
> 'Refreshing JSF information about: ..... '
> An internal error occured.
> The problem is, from the moment i get it, it doesn't stop. After a while it gets very annoying.
> I wish I could tell you more, but the error popup is quite vague...
> See more info in the picture in attachment
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 4 months
[JBoss JIRA] (JBDS-4740) Add a build slave that is capable of building Flatpak versions of Eclipse products
by Ondrej Dockal (Jira)
[ https://issues.jboss.org/browse/JBDS-4740?page=com.atlassian.jira.plugin.... ]
Ondrej Dockal commented on JBDS-4740:
-------------------------------------
[~mat.booth] I just have run ci rhel snapshots update jenkins job, if it went fine, you will be able to test rhel releng slave in jenkins/openstack by yourself.
> Add a build slave that is capable of building Flatpak versions of Eclipse products
> ----------------------------------------------------------------------------------
>
> Key: JBDS-4740
> URL: https://issues.jboss.org/browse/JBDS-4740
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Task
> Components: build
> Reporter: Mat Booth
> Assignee: Mat Booth
> Priority: Major
>
> I'm filing a Jira ticket as suggested in Mattermost.
> In order to explore shipping our Eclipse-based products as Flatpak applications, (initially SCL and maybe eventually also JBDS) I need a build slave for the Jenkins[1] that is capable of generating Flatpaks.
> The newly released RHEL 7.6 has a sufficiently new version of *flatpak* and *flatpak-builder* packages. Please also ensure there is *java-1.8.0-openjdk-devel* and a recent maven installed.
> Please consider adding such a builder.
> [1] https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 4 months