[jbosstools-issues] [JBoss JIRA] (JBIDE-14961) build does not work when foundation.security.feature is limited to linux

Denis Golovin (JIRA) jira-events at lists.jboss.org
Fri Jun 21 13:18:20 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-14961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783701#comment-12783701 ] 

Denis Golovin commented on JBIDE-14961:
---------------------------------------

it can be built by adding into jbosstools-base/site/pom.xml

{code}<build>
	<plugins>
		<plugin>
			<groupId>org.eclipse.tycho</groupId>
			<artifactId>target-platform-configuration</artifactId>
			<version>${tychoVersion}</version>
			<configuration>
				<resolver>p2</resolver>
				<ignoreTychoRepositories>true</ignoreTychoRepositories>
				<environments>
					<environment>
						<os>linux</os>
						<ws>gtk</ws>
					</environment>
				</environments>
			</configuration>
		</plugin>
	</plugins>
</build>{code}

but then aggregation build would fail because it uses default configuration with all supported platforms, possible solution is to change aggregation build to use mirroring instead of eclipse-repository packaging.


For now I would suggest solution we have in XULRunner becuase I would not affect aggregation build:
1. Use generic name for feature as "org.jboss.foundation.security.feature" and have fragments in it for different platforms
2. It would not have any platform related restrictions and (as Rob said) its installation on unsupported platform would not affect eclipse behaviour.



                
> build does not work when foundation.security.feature is limited to linux
> ------------------------------------------------------------------------
>
>                 Key: JBIDE-14961
>                 URL: https://issues.jboss.org/browse/JBIDE-14961
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: common/jst/core
>            Reporter: Max Rydahl Andersen
>            Priority: Blocker
>             Fix For: 4.1.0.CR1
>
>
> from mailing list:
> "> ["Unable to satisfy dependency from
> >> org.jboss.tools.foundation.security.linux.feature.source.feature.group
> >> 1.0.0.Beta3-v20130620-1920 to
> >> org.jboss.tools.foundation.security.linux.feature.feature.group
> >> [1.0.0.Beta3-v20130620-1920].", "Unable to satisfy dependency from site
> >> raw:4.1.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):4.1.0-SNAPSHOT to
> >> org.jboss.tools.foundation.security.linux.feature.feature.group 0.0.0.",
> >> "No solution found because the problem is unsatisfiable."] -> [Help 1]"
> Denis:
> "Was broken by https://github.com/jbosstools/jbosstools-base/commit/df2c1fc3c6b5ede5a68830f056cc6ddd6271f602
> I reverted it in master to restore the build, this cahnges weren't submitted
> into beta2x branch.
> Tycho is trying to build for all supported platform declared in parent po and
> cannot because security.linux cann be resolved only for gtk.linux. So we
> cannot have I feature available only for single platform."
> Max:
> Need to find solution for this since security.feature should only be included on linux.

--
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


More information about the jbosstools-issues mailing list