[jira] [Updated] (KARAF-2511) Review and update documentation

2018-04-02 Thread JIRA

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

Jean-Baptiste Onofré updated KARAF-2511:

Fix Version/s: (was: 4.2.0)
   4.2.1

> Review and update documentation
> ---
>
> Key: KARAF-2511
> URL: https://issues.apache.org/jira/browse/KARAF-2511
> Project: Karaf
>  Issue Type: Task
>  Components: karaf-documentation
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Blocker
> Fix For: 4.2.1
>
>
> The documentation (manual) should be reviewed:
> - The subshell part should be described (usage and configuration).
> - The "code samples"/screenshots have to be updated with Karaf 3.0.0 use cases
> - a global polishing, double read



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KARAF-2511) Review and update documentation

2018-04-02 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-2511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16423045#comment-16423045
 ] 

ASF GitHub Bot commented on KARAF-2511:
---

jbonofre opened a new pull request #484: [KARAF-2511] Add examples in the 
distribution
URL: https://github.com/apache/karaf/pull/484
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Review and update documentation
> ---
>
> Key: KARAF-2511
> URL: https://issues.apache.org/jira/browse/KARAF-2511
> Project: Karaf
>  Issue Type: Task
>  Components: karaf-documentation
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Blocker
> Fix For: 4.2.0
>
>
> The documentation (manual) should be reviewed:
> - The subshell part should be described (usage and configuration).
> - The "code samples"/screenshots have to be updated with Karaf 3.0.0 use cases
> - a global polishing, double read



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (KARAF-2511) Review and update documentation

2018-04-02 Thread JIRA

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

Jean-Baptiste Onofré updated KARAF-2511:

Fix Version/s: (was: 4.1.6)

> Review and update documentation
> ---
>
> Key: KARAF-2511
> URL: https://issues.apache.org/jira/browse/KARAF-2511
> Project: Karaf
>  Issue Type: Task
>  Components: karaf-documentation
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Blocker
> Fix For: 4.2.0
>
>
> The documentation (manual) should be reviewed:
> - The subshell part should be described (usage and configuration).
> - The "code samples"/screenshots have to be updated with Karaf 3.0.0 use cases
> - a global polishing, double read



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KARAF-5611) karaf.bat still uses endorsed dirs with Java 9 install

2018-04-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16423010#comment-16423010
 ] 

ASF subversion and git services commented on KARAF-5611:


Commit 01770c7976446ac265e3bc76dca64bff22f60e29 in karaf's branch 
refs/heads/master from [~jbonofre]
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=01770c7 ]

Merge pull request #483 from jbonofre/KARAF-5611

[KARAF-5611] Change java version test in karaf.bat to deal with Java 9 and 10

> karaf.bat still uses endorsed dirs with Java 9 install
> --
>
> Key: KARAF-5611
> URL: https://issues.apache.org/jira/browse/KARAF-5611
> Project: Karaf
>  Issue Type: Bug
>Affects Versions: 4.2.0.M2
> Environment: Running on Windows 10 Enterprise v 1703
> java version "9.0.4"
> Java(TM) SE Runtime Environment (build 9.0.4+11)
> Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
>Reporter: David Otasek
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.0
>
> Attachments: karaf.bat
>
>
> karaf.bat does appear to recognise my Java 9, and still attempts to execute 
> with endorsed dirs, resulting in this error message:
> {quote}-Djava.endorsed.dirs=C:\Program 
> Files\Java\jre-9.0.4\jre\lib\endorsed;C:\Program 
> Files\Java\jre-9.0.4\lib\endorsed;C:\Users\D 
> Otasek\Desktop\cytoscape-windows-3.7.0-SNAPSHOT\framework\bin\..\lib\endorsed 
> is not supported. Endorsed standards and standalone APIs
> in modular form will be supported via the concept of upgradeable modules.
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.{quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KARAF-5611) karaf.bat still uses endorsed dirs with Java 9 install

2018-04-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16423009#comment-16423009
 ] 

ASF subversion and git services commented on KARAF-5611:


Commit d44b16decd9754da1c8d62df500d07e0ea72fe8d in karaf's branch 
refs/heads/master from [~jbonofre]
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=d44b16d ]

[KARAF-5611] Change java version test in karaf.bat to deal with Java 9 and 10


> karaf.bat still uses endorsed dirs with Java 9 install
> --
>
> Key: KARAF-5611
> URL: https://issues.apache.org/jira/browse/KARAF-5611
> Project: Karaf
>  Issue Type: Bug
>Affects Versions: 4.2.0.M2
> Environment: Running on Windows 10 Enterprise v 1703
> java version "9.0.4"
> Java(TM) SE Runtime Environment (build 9.0.4+11)
> Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
>Reporter: David Otasek
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.0
>
> Attachments: karaf.bat
>
>
> karaf.bat does appear to recognise my Java 9, and still attempts to execute 
> with endorsed dirs, resulting in this error message:
> {quote}-Djava.endorsed.dirs=C:\Program 
> Files\Java\jre-9.0.4\jre\lib\endorsed;C:\Program 
> Files\Java\jre-9.0.4\lib\endorsed;C:\Users\D 
> Otasek\Desktop\cytoscape-windows-3.7.0-SNAPSHOT\framework\bin\..\lib\endorsed 
> is not supported. Endorsed standards and standalone APIs
> in modular form will be supported via the concept of upgradeable modules.
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.{quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KARAF-5611) karaf.bat still uses endorsed dirs with Java 9 install

2018-04-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16423011#comment-16423011
 ] 

ASF subversion and git services commented on KARAF-5611:


Commit 01770c7976446ac265e3bc76dca64bff22f60e29 in karaf's branch 
refs/heads/master from [~jbonofre]
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=01770c7 ]

Merge pull request #483 from jbonofre/KARAF-5611

[KARAF-5611] Change java version test in karaf.bat to deal with Java 9 and 10

> karaf.bat still uses endorsed dirs with Java 9 install
> --
>
> Key: KARAF-5611
> URL: https://issues.apache.org/jira/browse/KARAF-5611
> Project: Karaf
>  Issue Type: Bug
>Affects Versions: 4.2.0.M2
> Environment: Running on Windows 10 Enterprise v 1703
> java version "9.0.4"
> Java(TM) SE Runtime Environment (build 9.0.4+11)
> Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
>Reporter: David Otasek
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.0
>
> Attachments: karaf.bat
>
>
> karaf.bat does appear to recognise my Java 9, and still attempts to execute 
> with endorsed dirs, resulting in this error message:
> {quote}-Djava.endorsed.dirs=C:\Program 
> Files\Java\jre-9.0.4\jre\lib\endorsed;C:\Program 
> Files\Java\jre-9.0.4\lib\endorsed;C:\Users\D 
> Otasek\Desktop\cytoscape-windows-3.7.0-SNAPSHOT\framework\bin\..\lib\endorsed 
> is not supported. Endorsed standards and standalone APIs
> in modular form will be supported via the concept of upgradeable modules.
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.{quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (KARAF-5611) karaf.bat still uses endorsed dirs with Java 9 install

2018-04-02 Thread JIRA

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

Jean-Baptiste Onofré resolved KARAF-5611.
-
Resolution: Fixed

> karaf.bat still uses endorsed dirs with Java 9 install
> --
>
> Key: KARAF-5611
> URL: https://issues.apache.org/jira/browse/KARAF-5611
> Project: Karaf
>  Issue Type: Bug
>Affects Versions: 4.2.0.M2
> Environment: Running on Windows 10 Enterprise v 1703
> java version "9.0.4"
> Java(TM) SE Runtime Environment (build 9.0.4+11)
> Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
>Reporter: David Otasek
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.0
>
> Attachments: karaf.bat
>
>
> karaf.bat does appear to recognise my Java 9, and still attempts to execute 
> with endorsed dirs, resulting in this error message:
> {quote}-Djava.endorsed.dirs=C:\Program 
> Files\Java\jre-9.0.4\jre\lib\endorsed;C:\Program 
> Files\Java\jre-9.0.4\lib\endorsed;C:\Users\D 
> Otasek\Desktop\cytoscape-windows-3.7.0-SNAPSHOT\framework\bin\..\lib\endorsed 
> is not supported. Endorsed standards and standalone APIs
> in modular form will be supported via the concept of upgradeable modules.
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.{quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KARAF-5611) karaf.bat still uses endorsed dirs with Java 9 install

2018-04-02 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16423008#comment-16423008
 ] 

ASF GitHub Bot commented on KARAF-5611:
---

jbonofre closed pull request #483: [KARAF-5611] Change java version test in 
karaf.bat to deal with Java 9 and 10
URL: https://github.com/apache/karaf/pull/483
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/assemblies/features/base/src/main/filtered-resources/resources/bin/karaf.bat 
b/assemblies/features/base/src/main/filtered-resources/resources/bin/karaf.bat
index 0634241682..b18b46cf9d 100644
--- 
a/assemblies/features/base/src/main/filtered-resources/resources/bin/karaf.bat
+++ 
b/assemblies/features/base/src/main/filtered-resources/resources/bin/karaf.bat
@@ -395,8 +395,10 @@ if "%KARAF_PROFILER%" == "" goto :RUN
 if "%ROOT_INSTANCE_RUNNING%" == "false" SET IS_RUNNABLE=true
 if "%CHECK_ROOT_INSTANCE_RUNNING%" == "false" SET IS_RUNNABLE=true
 if "%IS_RUNNABLE%" == "true" (
-for /f tokens^=2-5^ delims^=.-_^" %%j in ('"%JAVA%" -fullversion 
2^>^&1') do set "JAVA_VERSION=%%k%"
-if "%JAVA_VERSION%" GTR 8 (
+for /f tokens^=2-5^ delims^=.-_^" %%j in ('"%JAVA%" -fullversion 
2^>^&1') do set "JAVA_VERSION=%%j%"
+rem If major version is greater than 1 (meaning Java 9 or 10), we 
don't use endorsed lib but module
+rem If major version is 1 (meaning Java 1.6, 1.7, 1.8), we use 
endorsed lib
+if "%JAVA_VERSION%" GTR 1 (
 "%JAVA%" %JAVA_OPTS% %OPTS% ^
 
--add-exports=java.base/org.apache.karaf.specs.locator=java.xml,java.xml.ws,ALL-UNNAMED
 ^
 --patch-module 
java.base=lib/endorsed/org.apache.karaf.specs.locator-@@project.version@@.jar ^


 


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> karaf.bat still uses endorsed dirs with Java 9 install
> --
>
> Key: KARAF-5611
> URL: https://issues.apache.org/jira/browse/KARAF-5611
> Project: Karaf
>  Issue Type: Bug
>Affects Versions: 4.2.0.M2
> Environment: Running on Windows 10 Enterprise v 1703
> java version "9.0.4"
> Java(TM) SE Runtime Environment (build 9.0.4+11)
> Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
>Reporter: David Otasek
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.0
>
> Attachments: karaf.bat
>
>
> karaf.bat does appear to recognise my Java 9, and still attempts to execute 
> with endorsed dirs, resulting in this error message:
> {quote}-Djava.endorsed.dirs=C:\Program 
> Files\Java\jre-9.0.4\jre\lib\endorsed;C:\Program 
> Files\Java\jre-9.0.4\lib\endorsed;C:\Users\D 
> Otasek\Desktop\cytoscape-windows-3.7.0-SNAPSHOT\framework\bin\..\lib\endorsed 
> is not supported. Endorsed standards and standalone APIs
> in modular form will be supported via the concept of upgradeable modules.
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.{quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KARAF-5611) karaf.bat still uses endorsed dirs with Java 9 install

2018-04-02 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16422674#comment-16422674
 ] 

ASF GitHub Bot commented on KARAF-5611:
---

jbonofre opened a new pull request #483: [KARAF-5611] Change java version test 
in karaf.bat to deal with Java 9 and 10
URL: https://github.com/apache/karaf/pull/483
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> karaf.bat still uses endorsed dirs with Java 9 install
> --
>
> Key: KARAF-5611
> URL: https://issues.apache.org/jira/browse/KARAF-5611
> Project: Karaf
>  Issue Type: Bug
>Affects Versions: 4.2.0.M2
> Environment: Running on Windows 10 Enterprise v 1703
> java version "9.0.4"
> Java(TM) SE Runtime Environment (build 9.0.4+11)
> Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
>Reporter: David Otasek
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.0
>
> Attachments: karaf.bat
>
>
> karaf.bat does appear to recognise my Java 9, and still attempts to execute 
> with endorsed dirs, resulting in this error message:
> {quote}-Djava.endorsed.dirs=C:\Program 
> Files\Java\jre-9.0.4\jre\lib\endorsed;C:\Program 
> Files\Java\jre-9.0.4\lib\endorsed;C:\Users\D 
> Otasek\Desktop\cytoscape-windows-3.7.0-SNAPSHOT\framework\bin\..\lib\endorsed 
> is not supported. Endorsed standards and standalone APIs
> in modular form will be supported via the concept of upgradeable modules.
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.{quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (KARAF-5686) Wrong example in "Simulate, Start and stop" chapter

2018-04-02 Thread Miroslav Holubec (JIRA)

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

Miroslav Holubec closed KARAF-5686.
---
Resolution: Invalid

excuse me, actually example is correct, just pretty similar to previous one

> Wrong example in "Simulate, Start and stop" chapter
> ---
>
> Key: KARAF-5686
> URL: https://issues.apache.org/jira/browse/KARAF-5686
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-documentation
>Reporter: Miroslav Holubec
>Priority: Minor
>
> There is wrong example, duplicated from previous chapter, located 
> [here|http://karaf.apache.org/manual/latest/#_simulate_start_and_stop]. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (KARAF-5686) Wrong example in "Simulate, Start and stop" chapter

2018-04-02 Thread Miroslav Holubec (JIRA)

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

Miroslav Holubec updated KARAF-5686:

Priority: Minor  (was: Major)

> Wrong example in "Simulate, Start and stop" chapter
> ---
>
> Key: KARAF-5686
> URL: https://issues.apache.org/jira/browse/KARAF-5686
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-documentation
>Reporter: Miroslav Holubec
>Priority: Minor
>
> There is wrong example, duplicated from previous chapter, located 
> [here|http://karaf.apache.org/manual/latest/#_simulate_start_and_stop]. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (KARAF-5686) Wrong example in "Simulate, Start and stop" chapter

2018-04-02 Thread Miroslav Holubec (JIRA)
Miroslav Holubec created KARAF-5686:
---

 Summary: Wrong example in "Simulate, Start and stop" chapter
 Key: KARAF-5686
 URL: https://issues.apache.org/jira/browse/KARAF-5686
 Project: Karaf
  Issue Type: Bug
  Components: karaf-documentation
Reporter: Miroslav Holubec


There is wrong example, duplicated from previous chapter, located 
[here|http://karaf.apache.org/manual/latest/#_simulate_start_and_stop]. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)