[jira] [Updated] (SLING-10288) FelixFrameworkScanner sets framework properties always for current Java version

2024-06-21 Thread Robert Munteanu (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-10288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Munteanu updated SLING-10288:

Fix Version/s: Feature Model Analyser 2.0.8
   (was: Feature Model Analyser 2.0.6)

> FelixFrameworkScanner sets framework properties always for current Java 
> version
> ---
>
> Key: SLING-10288
> URL: https://issues.apache.org/jira/browse/SLING-10288
> Project: Sling
>  Issue Type: Bug
>  Components: Feature Model Analyser
>Reporter: Konrad Windszus
>Assignee: Robert Munteanu
>Priority: Major
> Fix For: Feature Model Analyser 2.0.8
>
>
> Sometimes the analyser is executed with a different java version than the one 
> executing the actual OSGi container. There should be a possibility to 
> explicitly set a Java version.
> Currently the framework properties are gathered in a dedicated java process 
> executing 
> https://github.com/apache/sling-org-apache-sling-feature-analyser/blob/730b7d3297ab9f17f484e7b557e4ec47c3d9b3e9/src/main/java/org/apache/sling/feature/scanner/impl/fwk/FrameworkPropertiesGatherer.java#L41.
>  That new process always takes the current  {{java.home}} which therefore 
> returns the wrong properties (i.e. the ones for the current  java version 
> instead of the one used to execute the framework).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (SLING-10288) FelixFrameworkScanner sets framework properties always for current Java version

2024-06-10 Thread Robert Munteanu (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-10288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Munteanu updated SLING-10288:

Fix Version/s: Feature Model Analyser 2.0.4

> FelixFrameworkScanner sets framework properties always for current Java 
> version
> ---
>
> Key: SLING-10288
> URL: https://issues.apache.org/jira/browse/SLING-10288
> Project: Sling
>  Issue Type: Bug
>  Components: Feature Model Analyser
>Reporter: Konrad Windszus
>Assignee: Robert Munteanu
>Priority: Major
> Fix For: Feature Model Analyser 2.0.4
>
>
> Sometimes the analyser is executed with a different java version than the one 
> executing the actual OSGi container. There should be a possibility to 
> explicitly set a Java version.
> Currently the framework properties are gathered in a dedicated java process 
> executing 
> https://github.com/apache/sling-org-apache-sling-feature-analyser/blob/730b7d3297ab9f17f484e7b557e4ec47c3d9b3e9/src/main/java/org/apache/sling/feature/scanner/impl/fwk/FrameworkPropertiesGatherer.java#L41.
>  That new process always takes the current  {{java.home}} which therefore 
> returns the wrong properties (i.e. the ones for the current  java version 
> instead of the one used to execute the framework).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (SLING-10288) FelixFrameworkScanner sets framework properties always for current Java version

2024-06-10 Thread Robert Munteanu (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-10288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Munteanu updated SLING-10288:

Fix Version/s: Feature Model Analyser 2.0.6
   (was: Feature Model Analyser 2.0.4)

> FelixFrameworkScanner sets framework properties always for current Java 
> version
> ---
>
> Key: SLING-10288
> URL: https://issues.apache.org/jira/browse/SLING-10288
> Project: Sling
>  Issue Type: Bug
>  Components: Feature Model Analyser
>Reporter: Konrad Windszus
>Assignee: Robert Munteanu
>Priority: Major
> Fix For: Feature Model Analyser 2.0.6
>
>
> Sometimes the analyser is executed with a different java version than the one 
> executing the actual OSGi container. There should be a possibility to 
> explicitly set a Java version.
> Currently the framework properties are gathered in a dedicated java process 
> executing 
> https://github.com/apache/sling-org-apache-sling-feature-analyser/blob/730b7d3297ab9f17f484e7b557e4ec47c3d9b3e9/src/main/java/org/apache/sling/feature/scanner/impl/fwk/FrameworkPropertiesGatherer.java#L41.
>  That new process always takes the current  {{java.home}} which therefore 
> returns the wrong properties (i.e. the ones for the current  java version 
> instead of the one used to execute the framework).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (SLING-10288) FelixFrameworkScanner sets framework properties always for current Java version

2021-04-09 Thread Konrad Windszus (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-10288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konrad Windszus updated SLING-10288:

Description: 
Sometimes the analyser is executed with a different java version than the one 
executing the actual OSGi container. There should be a possibility to 
explicitly set a Java version.

Currently the framework properties are gathered in a dedicated java process 
executing 
https://github.com/apache/sling-org-apache-sling-feature-analyser/blob/730b7d3297ab9f17f484e7b557e4ec47c3d9b3e9/src/main/java/org/apache/sling/feature/scanner/impl/fwk/FrameworkPropertiesGatherer.java#L41.
 That new process always takes the current  {{java.home}} which therefore 
returns the wrong properties (i.e. the ones for the current  java version 
instead of the one used to execute the framework).

  was:Sometimes the analyser is executed with a different java version than the 
one executing the actual OSGi container. There should be a possibility to 
explicitly set a Java version


> FelixFrameworkScanner sets framework properties always for current Java 
> version
> ---
>
> Key: SLING-10288
> URL: https://issues.apache.org/jira/browse/SLING-10288
> Project: Sling
>  Issue Type: Bug
>  Components: Feature Model Analyser
>Reporter: Konrad Windszus
>Priority: Major
>
> Sometimes the analyser is executed with a different java version than the one 
> executing the actual OSGi container. There should be a possibility to 
> explicitly set a Java version.
> Currently the framework properties are gathered in a dedicated java process 
> executing 
> https://github.com/apache/sling-org-apache-sling-feature-analyser/blob/730b7d3297ab9f17f484e7b557e4ec47c3d9b3e9/src/main/java/org/apache/sling/feature/scanner/impl/fwk/FrameworkPropertiesGatherer.java#L41.
>  That new process always takes the current  {{java.home}} which therefore 
> returns the wrong properties (i.e. the ones for the current  java version 
> instead of the one used to execute the framework).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)