[jira] [Reopened] (CHAIN-60) In certain build configurations unit tests fail with the following message: testDefault: Correct command count expected:<17> but was:<19>
[ https://issues.apache.org/jira/browse/CHAIN-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simone Tripodi reopened CHAIN-60: - Assignee: Simone Tripodi Patch not applied yet - issue still open ;) > In certain build configurations unit tests fail with the following message: > testDefault: Correct command count expected:<17> but was:<19> > - > > Key: CHAIN-60 > URL: https://issues.apache.org/jira/browse/CHAIN-60 > Project: Commons Chain > Issue Type: Bug >Affects Versions: 1.2, 1.3, 2.0 > Environment: {noformat} > Operating system : Linux(unknown) > Java Home version : > java version "1.6.0_24" > Java(TM) SE Runtime Environment (build 1.6.0_24-b07) > Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode) > Builder version : > Apache Maven 2.2.1 (r801777; 2009-08-06 19:16:01+) > Java version: 1.6.0_24 > Java home: /usr/lib/jvm/java-6-sun-1.6.0.24/jre > Default locale: en_AU, platform encoding: UTF-8 > OS name: "linux" version: "2.6.32-31-server" arch: "amd64" Family: > "unix" > {noformat} >Reporter: Elijah Zupancic >Assignee: Simone Tripodi > Fix For: 2.0 > > Attachments: chain-60.diff > > > This bug occurs only on *some* build configurations. On my laptop and on the > continuum build server it occurs every time, but when I try to replicate on > different boxes with the exact same jvm and operating system, it is not > repeatable. Moreover, this bug was happening in the 1.2 and 1.3 versions of > chain and was no a result of changes introduced in 2.0. > The full output of the bug is as follows: > {noformat} > > /commons/proper/chain/trunk/pom.xml ( 1173817 ) > > /commons/proper/chain/trunk/src/assembly ( 1173817 ) > > /commons/proper/chain/trunk/src/main/assembly (from > > /commons/proper/chain/trunk/src/assembly:1172686) ( 1173817 ) > > > > /commons/proper/chain/trunk/src/test/java/org/apache/commons/chain/config/test-config-2.xml > > ( 1173817 ) > > > > /commons/proper/chain/trunk/src/test/java/org/apache/commons/chain/config/test-config.xml > > ( 1173817 ) > > /commons/proper/chain/trunk/src/test/resources ( 1173817 ) > > /commons/proper/chain/trunk/src/test/resources/org ( 1173817 ) > > /commons/proper/chain/trunk/src/test/resources/org/apache ( 1173817 ) > > /commons/proper/chain/trunk/src/test/resources/org/apache/commons ( > > 1173817 ) > > /commons/proper/chain/trunk/src/test/resources/org/apache/commons/chain ( > > 1173817 ) > > > > /commons/proper/chain/trunk/src/test/resources/org/apache/commons/chain/config > > ( 1173817 ) > > > > /commons/proper/chain/trunk/src/test/resources/org/apache/commons/chain/config/test-config-2.xml > > (from > > /commons/proper/chain/trunk/src/test/java/org/apache/commons/chain/config/test-config-2.xml:1172686) > > ( 1173817 ) > > > > /commons/proper/chain/trunk/src/test/resources/org/apache/commons/chain/config/test-config.xml > > (from > > /commons/proper/chain/trunk/src/test/java/org/apache/commons/chain/config/test-config.xml:1172686) > > ( 1173817 ) > > > > Changed: simonetripodi @ Wed 21 Sep 2011 20:02:11 + > > Comment: parent reference updated to version 22 > > Files changed: > > /commons/proper/chain/trunk/pom.xml ( 1173818 ) > > > > Changed: simonetripodi @ Wed 21 Sep 2011 20:03:47 + > > Comment: added missing release metadata > > Files changed: > > /commons/proper/chain/trunk/pom.xml ( 1173819 ) > > > > Changed: simonetripodi @ Wed 21 Sep 2011 20:05:35 + > > Comment: 4 spaces replaced with 2 spaces, as generally adopted in commons > > Files changed: > > /commons/proper/chain/trunk/pom.xml ( 1173821 ) > > > > > > Dependencies Changes: > > > > No dependencies changed > > > > > > > > Build Definition: > > > > POM filename: pom.xml > > Goals: clean deploy > > Arguments: --batch-mode -Pjava-1.5 > > Build Fresh: false > > Always Build: false > > Default Build Definition: true > > Schedule: COMMONS_SCHEDULE > > Profile Name: Maven 2.2.1 > > Description: Default Maven 2 Build Definition (Java 1.5) > > > > > > Test Summary: > > > > Tests: 125 > > Failures: 1 > > Errors: 0 > > Success Rate: 99 > > Total time: 1.1960001 > > > >
[jira] [Created] (MATH-680) Create a method to get traingle
Create a method to get traingle Key: MATH-680 URL: https://issues.apache.org/jira/browse/MATH-680 Project: Commons Math Issue Type: New Feature Reporter: DI COSTANZO -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (MATH-681) Create a method to get traingle
Create a method to get traingle Key: MATH-681 URL: https://issues.apache.org/jira/browse/MATH-681 Project: Commons Math Issue Type: New Feature Reporter: DI COSTANZO -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Deleted] (MATH-681) Create a method to get traingle
[ https://issues.apache.org/jira/browse/MATH-681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luc Maisonobe deleted MATH-681: --- > Create a method to get traingle > > > Key: MATH-681 > URL: https://issues.apache.org/jira/browse/MATH-681 > Project: Commons Math > Issue Type: New Feature >Reporter: DI COSTANZO > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (MATH-682) Pascal triangle
Pascal triangle Key: MATH-682 URL: https://issues.apache.org/jira/browse/MATH-682 Project: Commons Math Issue Type: New Feature Affects Versions: 3.0 Environment: All Reporter: DI COSTANZO Priority: Trivial Create a method to get Pascal's triangle coefficient. This method could be implemented in MathUtils, in a static way, with the following signature : double[] getTriangleCoefficient(final int order) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (MATH-683) Create a method shift in the PolynomialFunction class
Create a method shift in the PolynomialFunction class - Key: MATH-683 URL: https://issues.apache.org/jira/browse/MATH-683 Project: Commons Math Issue Type: New Feature Affects Versions: 3.0 Environment: All Reporter: DI COSTANZO Priority: Trivial Create a method shift to transform a polynomial P(k) in P(k + a) where a is any double value. The polynomial sum(ai * k^i) turns into sum(ai * (k+a)^i) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Deleted] (MATH-680) Create a method to get traingle
[ https://issues.apache.org/jira/browse/MATH-680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sebb deleted MATH-680: -- > Create a method to get traingle > > > Key: MATH-680 > URL: https://issues.apache.org/jira/browse/MATH-680 > Project: Commons Math > Issue Type: New Feature >Reporter: DI COSTANZO > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MATH-682) Pascal triangle
[ https://issues.apache.org/jira/browse/MATH-682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119235#comment-13119235 ] Sébastien Brisard commented on MATH-682: I have an implementation based on JScience which I need to port to Commons-Math for personal use. I use it for symbolic calcs on polynomials. I need it to return FieldElement, but it could be easily adapted to double[] as requested. So, if this indeed is found useful for 3.0 by others, and no one else has any ready piece of code for it, I'm happy to work on that. > Pascal triangle > > > Key: MATH-682 > URL: https://issues.apache.org/jira/browse/MATH-682 > Project: Commons Math > Issue Type: New Feature >Affects Versions: 3.0 > Environment: All >Reporter: DI COSTANZO >Priority: Trivial > > Create a method to get Pascal's triangle coefficient. This method could be > implemented in MathUtils, in a static way, with the following signature : > double[] getTriangleCoefficient(final int order) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MATH-682) Pascal triangle
[ https://issues.apache.org/jira/browse/MATH-682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119249#comment-13119249 ] Gilles commented on MATH-682: - It should not be implemented in "MathUtils"; this class is already too bloated. This concept could easily go in its own class; moreover it would make it easier to e.g. implement caching of previously computed entries. This would also allow for [additional functionality|http://en.wikipedia.org/wiki/Pascal's_triangle]. > Pascal triangle > > > Key: MATH-682 > URL: https://issues.apache.org/jira/browse/MATH-682 > Project: Commons Math > Issue Type: New Feature >Affects Versions: 3.0 > Environment: All >Reporter: DI COSTANZO >Priority: Trivial > > Create a method to get Pascal's triangle coefficient. This method could be > implemented in MathUtils, in a static way, with the following signature : > double[] getTriangleCoefficient(final int order) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CHAIN-60) In certain build configurations unit tests fail with the following message: testDefault: Correct command count expected:<17> but was:<19>
[ https://issues.apache.org/jira/browse/CHAIN-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simone Tripodi resolved CHAIN-60. - Resolution: Fixed fixed on [r1178379|https://svn.apache.org/viewvc?view=revision&revision=1178379] > In certain build configurations unit tests fail with the following message: > testDefault: Correct command count expected:<17> but was:<19> > - > > Key: CHAIN-60 > URL: https://issues.apache.org/jira/browse/CHAIN-60 > Project: Commons Chain > Issue Type: Bug >Affects Versions: 1.2, 1.3, 2.0 > Environment: {noformat} > Operating system : Linux(unknown) > Java Home version : > java version "1.6.0_24" > Java(TM) SE Runtime Environment (build 1.6.0_24-b07) > Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode) > Builder version : > Apache Maven 2.2.1 (r801777; 2009-08-06 19:16:01+) > Java version: 1.6.0_24 > Java home: /usr/lib/jvm/java-6-sun-1.6.0.24/jre > Default locale: en_AU, platform encoding: UTF-8 > OS name: "linux" version: "2.6.32-31-server" arch: "amd64" Family: > "unix" > {noformat} >Reporter: Elijah Zupancic >Assignee: Simone Tripodi > Fix For: 2.0 > > Attachments: chain-60.diff > > > This bug occurs only on *some* build configurations. On my laptop and on the > continuum build server it occurs every time, but when I try to replicate on > different boxes with the exact same jvm and operating system, it is not > repeatable. Moreover, this bug was happening in the 1.2 and 1.3 versions of > chain and was no a result of changes introduced in 2.0. > The full output of the bug is as follows: > {noformat} > > /commons/proper/chain/trunk/pom.xml ( 1173817 ) > > /commons/proper/chain/trunk/src/assembly ( 1173817 ) > > /commons/proper/chain/trunk/src/main/assembly (from > > /commons/proper/chain/trunk/src/assembly:1172686) ( 1173817 ) > > > > /commons/proper/chain/trunk/src/test/java/org/apache/commons/chain/config/test-config-2.xml > > ( 1173817 ) > > > > /commons/proper/chain/trunk/src/test/java/org/apache/commons/chain/config/test-config.xml > > ( 1173817 ) > > /commons/proper/chain/trunk/src/test/resources ( 1173817 ) > > /commons/proper/chain/trunk/src/test/resources/org ( 1173817 ) > > /commons/proper/chain/trunk/src/test/resources/org/apache ( 1173817 ) > > /commons/proper/chain/trunk/src/test/resources/org/apache/commons ( > > 1173817 ) > > /commons/proper/chain/trunk/src/test/resources/org/apache/commons/chain ( > > 1173817 ) > > > > /commons/proper/chain/trunk/src/test/resources/org/apache/commons/chain/config > > ( 1173817 ) > > > > /commons/proper/chain/trunk/src/test/resources/org/apache/commons/chain/config/test-config-2.xml > > (from > > /commons/proper/chain/trunk/src/test/java/org/apache/commons/chain/config/test-config-2.xml:1172686) > > ( 1173817 ) > > > > /commons/proper/chain/trunk/src/test/resources/org/apache/commons/chain/config/test-config.xml > > (from > > /commons/proper/chain/trunk/src/test/java/org/apache/commons/chain/config/test-config.xml:1172686) > > ( 1173817 ) > > > > Changed: simonetripodi @ Wed 21 Sep 2011 20:02:11 + > > Comment: parent reference updated to version 22 > > Files changed: > > /commons/proper/chain/trunk/pom.xml ( 1173818 ) > > > > Changed: simonetripodi @ Wed 21 Sep 2011 20:03:47 + > > Comment: added missing release metadata > > Files changed: > > /commons/proper/chain/trunk/pom.xml ( 1173819 ) > > > > Changed: simonetripodi @ Wed 21 Sep 2011 20:05:35 + > > Comment: 4 spaces replaced with 2 spaces, as generally adopted in commons > > Files changed: > > /commons/proper/chain/trunk/pom.xml ( 1173821 ) > > > > > > Dependencies Changes: > > > > No dependencies changed > > > > > > > > Build Definition: > > > > POM filename: pom.xml > > Goals: clean deploy > > Arguments: --batch-mode -Pjava-1.5 > > Build Fresh: false > > Always Build: false > > Default Build Definition: true > > Schedule: COMMONS_SCHEDULE > > Profile Name: Maven 2.2.1 > > Description: Default Maven 2 Build Definition (Java 1.5) > > > > > > Test Summary: > > > > Tests: 125 > > Failures: 1 > > Errors: 0 > > Success Rate: 99 > > Total time: 1.1960
[jira] [Commented] (MATH-683) Create a method shift in the PolynomialFunction class
[ https://issues.apache.org/jira/browse/MATH-683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119256#comment-13119256 ] Gilles commented on MATH-683: - You obtain the result by calling the "value" method with "k + a" as the argument. Or did I miss something? Please explain what you want to achieve. > Create a method shift in the PolynomialFunction class > - > > Key: MATH-683 > URL: https://issues.apache.org/jira/browse/MATH-683 > Project: Commons Math > Issue Type: New Feature >Affects Versions: 3.0 > Environment: All >Reporter: DI COSTANZO >Priority: Trivial > > Create a method shift to transform a polynomial P(k) in P(k + a) where a is > any double value. > The polynomial sum(ai * k^i) turns into sum(ai * (k+a)^i) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (MATH-682) Pascal triangle
[ https://issues.apache.org/jira/browse/MATH-682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sébastien Brisard updated MATH-682: --- Attachment: PascalTriangle.java Please find attached what I have for the moment. It needs some polishing to meet the CM standards, I believe. Also, it is based on JScience, which has both concepts of Field (like CM, but less convenient, I think) and Variable (which allowed me to have a method to expand binomials. As this feature is absent from CM, this would probably go). Previously computed lines are indeed cached. Please let me know if you think it's a good start. As for me, I need this class to work with FieldElement, but if this is far-fetched for CM, then I'm happy keeping this feature for the specific use I have. > Pascal triangle > > > Key: MATH-682 > URL: https://issues.apache.org/jira/browse/MATH-682 > Project: Commons Math > Issue Type: New Feature >Affects Versions: 3.0 > Environment: All >Reporter: DI COSTANZO >Priority: Trivial > Attachments: PascalTriangle.java > > > Create a method to get Pascal's triangle coefficient. This method could be > implemented in MathUtils, in a static way, with the following signature : > double[] getTriangleCoefficient(final int order) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MATH-683) Create a method shift in the PolynomialFunction class
[ https://issues.apache.org/jira/browse/MATH-683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119267#comment-13119267 ] DI COSTANZO commented on MATH-683: -- No. I don't want to modify the "value" method. I just want to add a new "shift" method transforming the current polynomial defined as an array of coeffcient in increasing 'x' power, by a new polynomial where 'x' is replaced by 'x+a', a beeing a double value. The signature could be something like this : PolynomialFunction shift(final double shift){ } So, if the initial polynomial is given by : P1 = sum(ai * x^i) (i = 0...n) The new polynomial created by the "shift" method will be : P2 = sum(ai * (x + a)^i) (i = 0...n) > Create a method shift in the PolynomialFunction class > - > > Key: MATH-683 > URL: https://issues.apache.org/jira/browse/MATH-683 > Project: Commons Math > Issue Type: New Feature >Affects Versions: 3.0 > Environment: All >Reporter: DI COSTANZO >Priority: Trivial > > Create a method shift to transform a polynomial P(k) in P(k + a) where a is > any double value. > The polynomial sum(ai * k^i) turns into sum(ai * (k+a)^i) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MATH-683) Create a method shift in the PolynomialFunction class
[ https://issues.apache.org/jira/browse/MATH-683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119273#comment-13119273 ] Sébastien Brisard commented on MATH-683: I think you might want to specify whether or not you would like at some point to be able to retrieve the coefficients of {{P2}}. In other words, do you need {{P2}} to be a {{PolynomialFunction}} or do you merely need to be able to compose {{P1}} and a shifter, which would return {{P2}} as a {{UnivariateRealFunction}}, e.g {code} final PolynomialFunction p1 = PolynomialsUtils.createLegendrePolynomial(10); final double a = 1.; UnivariateRealFunction p2 = new UnivariateRealFunction(){ public double value(final double x){ return p1.value(x+a); } } {code} I suspect the answer is the first option, since you also requested for the Pascale Triangle... Sébastien > Create a method shift in the PolynomialFunction class > - > > Key: MATH-683 > URL: https://issues.apache.org/jira/browse/MATH-683 > Project: Commons Math > Issue Type: New Feature >Affects Versions: 3.0 > Environment: All >Reporter: DI COSTANZO >Priority: Trivial > > Create a method shift to transform a polynomial P(k) in P(k + a) where a is > any double value. > The polynomial sum(ai * k^i) turns into sum(ai * (k+a)^i) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MATH-683) Create a method shift in the PolynomialFunction class
[ https://issues.apache.org/jira/browse/MATH-683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119278#comment-13119278 ] DI COSTANZO commented on MATH-683: -- You're right, I'm interested by the first option, I need P2 to be a PolynomialFunction. And effectively, my post on the Pascal Triangle goes in this sense. Romain > Create a method shift in the PolynomialFunction class > - > > Key: MATH-683 > URL: https://issues.apache.org/jira/browse/MATH-683 > Project: Commons Math > Issue Type: New Feature >Affects Versions: 3.0 > Environment: All >Reporter: DI COSTANZO >Priority: Trivial > > Create a method shift to transform a polynomial P(k) in P(k + a) where a is > any double value. > The polynomial sum(ai * k^i) turns into sum(ai * (k+a)^i) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MATH-682) Pascal triangle
[ https://issues.apache.org/jira/browse/MATH-682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119282#comment-13119282 ] Gilles commented on MATH-682: - Given the API differences and style problems, I think that it would be better to start from scratch, and have a class "PascalTriangle" (in package "util" if there is no better place) implement the basic functionality . Then whatever functionality relates to "PolynomialFunction" should better go to package "analysis.polynomials". > Pascal triangle > > > Key: MATH-682 > URL: https://issues.apache.org/jira/browse/MATH-682 > Project: Commons Math > Issue Type: New Feature >Affects Versions: 3.0 > Environment: All >Reporter: DI COSTANZO >Priority: Trivial > Attachments: PascalTriangle.java > > > Create a method to get Pascal's triangle coefficient. This method could be > implemented in MathUtils, in a static way, with the following signature : > double[] getTriangleCoefficient(final int order) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MATH-682) Pascal triangle
[ https://issues.apache.org/jira/browse/MATH-682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119284#comment-13119284 ] Sébastien Brisard commented on MATH-682: Fine by me! I can have a go on this one if you want (as I said, I *need* to do it fairly soon anyway, as I'm completely giving up JScience). Sébastien > Pascal triangle > > > Key: MATH-682 > URL: https://issues.apache.org/jira/browse/MATH-682 > Project: Commons Math > Issue Type: New Feature >Affects Versions: 3.0 > Environment: All >Reporter: DI COSTANZO >Priority: Trivial > Attachments: PascalTriangle.java > > > Create a method to get Pascal's triangle coefficient. This method could be > implemented in MathUtils, in a static way, with the following signature : > double[] getTriangleCoefficient(final int order) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Issue Comment Edited] (MATH-682) Pascal triangle
[ https://issues.apache.org/jira/browse/MATH-682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119284#comment-13119284 ] Sébastien Brisard edited comment on MATH-682 at 10/3/11 1:10 PM: - Fine by me! I can have a go on this one if you want (as I said, I *need* to do it fairly soon anyway, as I'm completely giving up JScience). Sébastien (except of course if Romain or anyone else has an implementation, I do not want to walk on anyone's feet!) was (Author: celestin): Fine by me! I can have a go on this one if you want (as I said, I *need* to do it fairly soon anyway, as I'm completely giving up JScience). Sébastien > Pascal triangle > > > Key: MATH-682 > URL: https://issues.apache.org/jira/browse/MATH-682 > Project: Commons Math > Issue Type: New Feature >Affects Versions: 3.0 > Environment: All >Reporter: DI COSTANZO >Priority: Trivial > Attachments: PascalTriangle.java, PascalTriangle.java, > PascalTriangleTest.java > > > Create a method to get Pascal's triangle coefficient. This method could be > implemented in MathUtils, in a static way, with the following signature : > double[] getTriangleCoefficient(final int order) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MATH-682) Pascal triangle
[ https://issues.apache.org/jira/browse/MATH-682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119286#comment-13119286 ] Gilles commented on MATH-682: - Note also that the above link contains an algorithm to compute individual rows (i.e. not needing to first compute the one above it) and the diagonals. Maybe that this could speed up some types of requests. > Pascal triangle > > > Key: MATH-682 > URL: https://issues.apache.org/jira/browse/MATH-682 > Project: Commons Math > Issue Type: New Feature >Affects Versions: 3.0 > Environment: All >Reporter: DI COSTANZO >Priority: Trivial > Attachments: PascalTriangle.java, PascalTriangle.java, > PascalTriangleTest.java > > > Create a method to get Pascal's triangle coefficient. This method could be > implemented in MathUtils, in a static way, with the following signature : > double[] getTriangleCoefficient(final int order) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (MATH-682) Pascal triangle
[ https://issues.apache.org/jira/browse/MATH-682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] DI COSTANZO updated MATH-682: - Attachment: PascalTriangleTest.java PascalTriangle.java Bonjour, Voici mon implémentation pour le triangle de pascal. Elle est déclarée pour le package Utils. La classe contient un système de cache permettant de sauvegarder les précédents coefficients calculés. J'y ai joint un fichier de test permettant de valider l'implémentation. Cette dernière vous convient elle ? Merci d'avance, Romain > Pascal triangle > > > Key: MATH-682 > URL: https://issues.apache.org/jira/browse/MATH-682 > Project: Commons Math > Issue Type: New Feature >Affects Versions: 3.0 > Environment: All >Reporter: DI COSTANZO >Priority: Trivial > Attachments: PascalTriangle.java, PascalTriangle.java, > PascalTriangleTest.java > > > Create a method to get Pascal's triangle coefficient. This method could be > implemented in MathUtils, in a static way, with the following signature : > double[] getTriangleCoefficient(final int order) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MATH-682) Pascal triangle
[ https://issues.apache.org/jira/browse/MATH-682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119288#comment-13119288 ] DI COSTANZO commented on MATH-682: -- I'm sorry, I wrote my last post in french ! I was saying : This is my implementation for the triangle pascal declared under the 'Utils' package. The class contains a cache system to save previous computed coefficients. I also put a test file to validate the implementation. Are you ok with it ? Thanks, Romain > Pascal triangle > > > Key: MATH-682 > URL: https://issues.apache.org/jira/browse/MATH-682 > Project: Commons Math > Issue Type: New Feature >Affects Versions: 3.0 > Environment: All >Reporter: DI COSTANZO >Priority: Trivial > Attachments: PascalTriangle.java, PascalTriangle.java, > PascalTriangleTest.java > > > Create a method to get Pascal's triangle coefficient. This method could be > implemented in MathUtils, in a static way, with the following signature : > double[] getTriangleCoefficient(final int order) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MATH-683) Create a method shift in the PolynomialFunction class
[ https://issues.apache.org/jira/browse/MATH-683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119304#comment-13119304 ] Gilles commented on MATH-683: - Maybe that I'm being a little dense, but I think that you've not explained why the following class, which you could create in your application, is not what you need: {code} public class ShiftedPolynomial extends PolynomialFunction { private double shift; public ShiftedPolynomial(PolynomialFunction f, double a) { this(f.getCoefficients(), a); } public ShiftedPolynomial(double c[], double a) { super(c); shift = a; } public double value(double x) { super.value(x + shift); } public ShiftedPolynomial polynomialDerivative() { return new ShiftedPolynomial(super.polynomialDerivative(), shift); } } {code} > Create a method shift in the PolynomialFunction class > - > > Key: MATH-683 > URL: https://issues.apache.org/jira/browse/MATH-683 > Project: Commons Math > Issue Type: New Feature >Affects Versions: 3.0 > Environment: All >Reporter: DI COSTANZO >Priority: Trivial > > Create a method shift to transform a polynomial P(k) in P(k + a) where a is > any double value. > The polynomial sum(ai * k^i) turns into sum(ai * (k+a)^i) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MATH-682) Pascal triangle
[ https://issues.apache.org/jira/browse/MATH-682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119311#comment-13119311 ] Gilles commented on MATH-682: - We should probably add some way to prevent an unlimited filling of the memory. It seems that the possibility to compute a single row (cf. my previous comment) would be handy if the requested order is very large. > Pascal triangle > > > Key: MATH-682 > URL: https://issues.apache.org/jira/browse/MATH-682 > Project: Commons Math > Issue Type: New Feature >Affects Versions: 3.0 > Environment: All >Reporter: DI COSTANZO >Priority: Trivial > Attachments: PascalTriangle.java, PascalTriangle.java, > PascalTriangleTest.java > > > Create a method to get Pascal's triangle coefficient. This method could be > implemented in MathUtils, in a static way, with the following signature : > double[] getTriangleCoefficient(final int order) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MATH-683) Create a method shift in the PolynomialFunction class
[ https://issues.apache.org/jira/browse/MATH-683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119313#comment-13119313 ] DI COSTANZO commented on MATH-683: -- Effectivelly, the code you posted above can be a solution for someone who only want to evaluate a polynomial function shifted by a specific value. Unfortunately, I can't deal with that representation, as I need to have the coefficients of the shifted polynomial : I'm facing this problem in a recurrence formula. To achieve it, I need to sum polynomial, some of them being shifted by real values. > Create a method shift in the PolynomialFunction class > - > > Key: MATH-683 > URL: https://issues.apache.org/jira/browse/MATH-683 > Project: Commons Math > Issue Type: New Feature >Affects Versions: 3.0 > Environment: All >Reporter: DI COSTANZO >Priority: Trivial > > Create a method shift to transform a polynomial P(k) in P(k + a) where a is > any double value. > The polynomial sum(ai * k^i) turns into sum(ai * (k+a)^i) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MATH-683) Create a method shift in the PolynomialFunction class
[ https://issues.apache.org/jira/browse/MATH-683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119315#comment-13119315 ] DI COSTANZO commented on MATH-683: -- Just a last precision,I need to implement this method anyway to achieve my work on those recurrence formul. What I can do is to send you the corresponding code, and you could add it if you think it could be usefull to others... Romain > Create a method shift in the PolynomialFunction class > - > > Key: MATH-683 > URL: https://issues.apache.org/jira/browse/MATH-683 > Project: Commons Math > Issue Type: New Feature >Affects Versions: 3.0 > Environment: All >Reporter: DI COSTANZO >Priority: Trivial > > Create a method shift to transform a polynomial P(k) in P(k + a) where a is > any double value. > The polynomial sum(ai * k^i) turns into sum(ai * (k+a)^i) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (MATH-682) Pascal triangle
[ https://issues.apache.org/jira/browse/MATH-682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] DI COSTANZO updated MATH-682: - Attachment: PascalTriangle.java PascalTriangleTest.java I agree with you. It could be important to prevent too large entries. In the files newly added, I add a static variable defining the maximum order at which a row can be computed (arbitrary set at 50). If the entry is superior to this maximum value, another method is called and only compute the individual row. The user can arbitrary call any one of the method. I updated the previous test class. > Pascal triangle > > > Key: MATH-682 > URL: https://issues.apache.org/jira/browse/MATH-682 > Project: Commons Math > Issue Type: New Feature >Affects Versions: 3.0 > Environment: All >Reporter: DI COSTANZO >Priority: Trivial > Attachments: PascalTriangle.java, PascalTriangle.java, > PascalTriangle.java, PascalTriangleTest.java, PascalTriangleTest.java > > > Create a method to get Pascal's triangle coefficient. This method could be > implemented in MathUtils, in a static way, with the following signature : > double[] getTriangleCoefficient(final int order) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MATH-683) Create a method shift in the PolynomialFunction class
[ https://issues.apache.org/jira/browse/MATH-683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119334#comment-13119334 ] Gilles commented on MATH-683: - Yes, please attach everything that could be useful to figure out what is the required functionality. So, if I understand correctly, what you really request is the function that would compute the new coefficients ("bi"): {noformat} Ps(k) = Sum bi * k^i = Sum ai * (k + a)^i = P(k + a) {noformat} This functionality should probably go in the "PolynomialsUtils" class: {code} public static double[] shiftedPolynomialCoefficients(double[] c, double shift) { // ... } {code} > Create a method shift in the PolynomialFunction class > - > > Key: MATH-683 > URL: https://issues.apache.org/jira/browse/MATH-683 > Project: Commons Math > Issue Type: New Feature >Affects Versions: 3.0 > Environment: All >Reporter: DI COSTANZO >Priority: Trivial > > Create a method shift to transform a polynomial P(k) in P(k + a) where a is > any double value. > The polynomial sum(ai * k^i) turns into sum(ai * (k+a)^i) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MATH-683) Create a method shift in the PolynomialFunction class
[ https://issues.apache.org/jira/browse/MATH-683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119339#comment-13119339 ] DI COSTANZO commented on MATH-683: -- That's it. I'll send you the code when completed. > Create a method shift in the PolynomialFunction class > - > > Key: MATH-683 > URL: https://issues.apache.org/jira/browse/MATH-683 > Project: Commons Math > Issue Type: New Feature >Affects Versions: 3.0 > Environment: All >Reporter: DI COSTANZO >Priority: Trivial > > Create a method shift to transform a polynomial P(k) in P(k + a) where a is > any double value. > The polynomial sum(ai * k^i) turns into sum(ai * (k+a)^i) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MATH-682) Pascal triangle
[ https://issues.apache.org/jira/browse/MATH-682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119349#comment-13119349 ] Phil Steitz commented on MATH-682: -- This is already available via the various binomial coefficient methods. What am I missing here? > Pascal triangle > > > Key: MATH-682 > URL: https://issues.apache.org/jira/browse/MATH-682 > Project: Commons Math > Issue Type: New Feature >Affects Versions: 3.0 > Environment: All >Reporter: DI COSTANZO >Priority: Trivial > Attachments: PascalTriangle.java, PascalTriangle.java, > PascalTriangle.java, PascalTriangleTest.java, PascalTriangleTest.java > > > Create a method to get Pascal's triangle coefficient. This method could be > implemented in MathUtils, in a static way, with the following signature : > double[] getTriangleCoefficient(final int order) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MATH-682) Pascal triangle
[ https://issues.apache.org/jira/browse/MATH-682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119358#comment-13119358 ] DI COSTANZO commented on MATH-682: -- Effectively, this is a way to get Pascal triangle elements. I didn't know this method was existing and it fulfil my need. Actually, I was thinking to create method to retrieve every element at once for given order, but I can build it by myself from those binomial coefficient method. Thanks, Regards, Romain > Pascal triangle > > > Key: MATH-682 > URL: https://issues.apache.org/jira/browse/MATH-682 > Project: Commons Math > Issue Type: New Feature >Affects Versions: 3.0 > Environment: All >Reporter: DI COSTANZO >Priority: Trivial > Attachments: PascalTriangle.java, PascalTriangle.java, > PascalTriangle.java, PascalTriangleTest.java, PascalTriangleTest.java > > > Create a method to get Pascal's triangle coefficient. This method could be > implemented in MathUtils, in a static way, with the following signature : > double[] getTriangleCoefficient(final int order) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (DAEMON-219) prunsrv error 1067 and crash on Windows 7
prunsrv error 1067 and crash on Windows 7 - Key: DAEMON-219 URL: https://issues.apache.org/jira/browse/DAEMON-219 Project: Commons Daemon Issue Type: Bug Components: Procrun Affects Versions: 1.0.7 Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500) Maven home: C:\Java\apache-maven-3.0.3\bin\.. Java version: 1.6.0_24, vendor: Sun Microsystems Inc. Java home: C:\Program Files\Java\jdk1.6.0_24\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" Reporter: Gary D. Gregory I've defined attached cmd file on Windows 7 to install a service. I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working" Attaching all details. Is there more debug logging I can turn on? The current debug output seems minimal. This is probably a configuration user error but I cannot tell due to the lack of logging. Thank you. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DAEMON-219) prunsrv error 1067 and crash on Windows 7
[ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary D. Gregory updated DAEMON-219: --- Attachment: install-lde-service.cmd ldeservice3-stdout.2011-10-03.log ldeservice3-stderr.2011-10-03.log commons-daemon.2011-10-03.log WERA3BD.tmp.mdmp WERA3BC.tmp.appcompat.txt WER8D3F.tmp.WERInternalMetadata.xml > prunsrv error 1067 and crash on Windows 7 > - > > Key: DAEMON-219 > URL: https://issues.apache.org/jira/browse/DAEMON-219 > Project: Commons Daemon > Issue Type: Bug > Components: Procrun >Affects Versions: 1.0.7 > Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500) > Maven home: C:\Java\apache-maven-3.0.3\bin\.. > Java version: 1.6.0_24, vendor: Sun Microsystems Inc. > Java home: C:\Program Files\Java\jdk1.6.0_24\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >Reporter: Gary D. Gregory > Attachments: WER8D3F.tmp.WERInternalMetadata.xml, > WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, > install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, > ldeservice3-stdout.2011-10-03.log > > > I've defined attached cmd file on Windows 7 to install a service. > I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons > Daemon Service Runner has stopped working" > Attaching all details. > Is there more debug logging I can turn on? The current debug output seems > minimal. > This is probably a configuration user error but I cannot tell due to the lack > of logging. > Thank you. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7
[ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119410#comment-13119410 ] Sebb commented on DAEMON-219: - Seems to be a minor bug in the ,cmd file: "%PR_HOME%\prunsrv" //DS//LdeService "%PR_HOME%\prunsrv" //IS//LdeService3^ Note the different service names; however this may not be significant. > prunsrv error 1067 and crash on Windows 7 > - > > Key: DAEMON-219 > URL: https://issues.apache.org/jira/browse/DAEMON-219 > Project: Commons Daemon > Issue Type: Bug > Components: Procrun >Affects Versions: 1.0.7 > Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500) > Maven home: C:\Java\apache-maven-3.0.3\bin\.. > Java version: 1.6.0_24, vendor: Sun Microsystems Inc. > Java home: C:\Program Files\Java\jdk1.6.0_24\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >Reporter: Gary D. Gregory > Attachments: WER8D3F.tmp.WERInternalMetadata.xml, > WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, > install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, > ldeservice3-stdout.2011-10-03.log > > > I've defined attached cmd file on Windows 7 to install a service. > I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons > Daemon Service Runner has stopped working" > Attaching all details. > Is there more debug logging I can turn on? The current debug output seems > minimal. > This is probably a configuration user error but I cannot tell due to the lack > of logging. > Thank you. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7
[ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119413#comment-13119413 ] Gary D. Gregory commented on DAEMON-219: You are correct, but it does not matter. You can remove the "DS" line. > prunsrv error 1067 and crash on Windows 7 > - > > Key: DAEMON-219 > URL: https://issues.apache.org/jira/browse/DAEMON-219 > Project: Commons Daemon > Issue Type: Bug > Components: Procrun >Affects Versions: 1.0.7 > Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500) > Maven home: C:\Java\apache-maven-3.0.3\bin\.. > Java version: 1.6.0_24, vendor: Sun Microsystems Inc. > Java home: C:\Program Files\Java\jdk1.6.0_24\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >Reporter: Gary D. Gregory > Attachments: WER8D3F.tmp.WERInternalMetadata.xml, > WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, > install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, > ldeservice3-stdout.2011-10-03.log > > > I've defined attached cmd file on Windows 7 to install a service. > I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons > Daemon Service Runner has stopped working" > Attaching all details. > Is there more debug logging I can turn on? The current debug output seems > minimal. > This is probably a configuration user error but I cannot tell due to the lack > of logging. > Thank you. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CONFIGURATION-465) commons-configuration
commons-configuration -- Key: CONFIGURATION-465 URL: https://issues.apache.org/jira/browse/CONFIGURATION-465 Project: Commons Configuration Issue Type: Bug Affects Versions: 1.7 Reporter: Rich Mayfield I updated to use commons-configuration 1.7 (from 1.6) and am running into the following resolution error under Eclipse Equinox OSGi framework. An Import-Package could not be resolved. Caused by missing constraint in bundle constraint: According to the Import-Package header in 1.7's MANIFEST.MF, commons-configuration now has a required dependency on org.apache.commons.jexl. Problem is, there is no OSGi enabled version of Apache Commons jexl that exports this package. In jexl 2.0 the packages were renamed and org.apache.commons.jexl2 is exported. The 1.x codeline, although using org.apache.commons.jexl, does not have the appropriate MANIFEST.MF headers to be used as an OSGi bundle. As such, you cannot consume commons-configuration 1.7 in an OSGi environment. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OGNL-24) Support visitor pattern on AST
[ https://issues.apache.org/jira/browse/OGNL-24?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119440#comment-13119440 ] Daniel Pitts commented on OGNL-24: -- Any committer willing to look at this? > Support visitor pattern on AST > -- > > Key: OGNL-24 > URL: https://issues.apache.org/jira/browse/OGNL-24 > Project: OGNL > Issue Type: New Feature >Reporter: Daniel Pitts > Attachments: visitor-pattern.patch > > > Supporting the visitor pattern on the AST tree allows for more modular > support of features and easier refactoring in the future. > Patch to be attached. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DAEMON-219) prunsrv error 1067 and crash on Windows 7
[ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary D. Gregory updated DAEMON-219: --- Attachment: (was: install-lde-service.cmd) > prunsrv error 1067 and crash on Windows 7 > - > > Key: DAEMON-219 > URL: https://issues.apache.org/jira/browse/DAEMON-219 > Project: Commons Daemon > Issue Type: Bug > Components: Procrun >Affects Versions: 1.0.7 > Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500) > Maven home: C:\Java\apache-maven-3.0.3\bin\.. > Java version: 1.6.0_24, vendor: Sun Microsystems Inc. > Java home: C:\Program Files\Java\jdk1.6.0_24\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >Reporter: Gary D. Gregory > Attachments: WER8D3F.tmp.WERInternalMetadata.xml, > WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, > install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, > ldeservice3-stdout.2011-10-03.log > > > I've defined attached cmd file on Windows 7 to install a service. > I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons > Daemon Service Runner has stopped working" > Attaching all details. > Is there more debug logging I can turn on? The current debug output seems > minimal. > This is probably a configuration user error but I cannot tell due to the lack > of logging. > Thank you. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DAEMON-219) prunsrv error 1067 and crash on Windows 7
[ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary D. Gregory updated DAEMON-219: --- Attachment: install-lde-service.cmd > prunsrv error 1067 and crash on Windows 7 > - > > Key: DAEMON-219 > URL: https://issues.apache.org/jira/browse/DAEMON-219 > Project: Commons Daemon > Issue Type: Bug > Components: Procrun >Affects Versions: 1.0.7 > Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500) > Maven home: C:\Java\apache-maven-3.0.3\bin\.. > Java version: 1.6.0_24, vendor: Sun Microsystems Inc. > Java home: C:\Program Files\Java\jdk1.6.0_24\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >Reporter: Gary D. Gregory > Attachments: WER8D3F.tmp.WERInternalMetadata.xml, > WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, > install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, > ldeservice3-stdout.2011-10-03.log > > > I've defined attached cmd file on Windows 7 to install a service. > I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons > Daemon Service Runner has stopped working" > Attaching all details. > Is there more debug logging I can turn on? The current debug output seems > minimal. > This is probably a configuration user error but I cannot tell due to the lack > of logging. > Thank you. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7
[ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119443#comment-13119443 ] Gary D. Gregory commented on DAEMON-219: AFAIK, this kind of stuff does not matter on Windows. The shell with find EXE and CMD files, you do not need to specify the file extension. Never the less, I've tried it and it gives me the same results. I've updated the cmd file in this ticket. > prunsrv error 1067 and crash on Windows 7 > - > > Key: DAEMON-219 > URL: https://issues.apache.org/jira/browse/DAEMON-219 > Project: Commons Daemon > Issue Type: Bug > Components: Procrun >Affects Versions: 1.0.7 > Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500) > Maven home: C:\Java\apache-maven-3.0.3\bin\.. > Java version: 1.6.0_24, vendor: Sun Microsystems Inc. > Java home: C:\Program Files\Java\jdk1.6.0_24\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >Reporter: Gary D. Gregory > Attachments: WER8D3F.tmp.WERInternalMetadata.xml, > WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, > install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, > ldeservice3-stdout.2011-10-03.log > > > I've defined attached cmd file on Windows 7 to install a service. > I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons > Daemon Service Runner has stopped working" > Attaching all details. > Is there more debug logging I can turn on? The current debug output seems > minimal. > This is probably a configuration user error but I cannot tell due to the lack > of logging. > Thank you. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7
[ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119422#comment-13119422 ] Mladen Turk commented on DAEMON-219: 1. Use prunsrv //TS//LdeService3, not prunsrv //TS/LdeService3! 2. Inside install --Install="%PR_HOME%\prunsrv" to --Install="%PR_HOME%\prunsrv.exe" > prunsrv error 1067 and crash on Windows 7 > - > > Key: DAEMON-219 > URL: https://issues.apache.org/jira/browse/DAEMON-219 > Project: Commons Daemon > Issue Type: Bug > Components: Procrun >Affects Versions: 1.0.7 > Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500) > Maven home: C:\Java\apache-maven-3.0.3\bin\.. > Java version: 1.6.0_24, vendor: Sun Microsystems Inc. > Java home: C:\Program Files\Java\jdk1.6.0_24\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >Reporter: Gary D. Gregory > Attachments: WER8D3F.tmp.WERInternalMetadata.xml, > WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, > install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, > ldeservice3-stdout.2011-10-03.log > > > I've defined attached cmd file on Windows 7 to install a service. > I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons > Daemon Service Runner has stopped working" > Attaching all details. > Is there more debug logging I can turn on? The current debug output seems > minimal. > This is probably a configuration user error but I cannot tell due to the lack > of logging. > Thank you. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7
[ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119473#comment-13119473 ] Mladen Turk commented on DAEMON-219: Ok. Could you export the following registry keys and attach them? HKLM\Software\Apache Software Foundation\Procrun 2.0\LdeService3 and HKLM\System\CurrentControlSet\Services\LdeService3 Right click on the key and then Export (select Save as Type: .txt) Thanks > prunsrv error 1067 and crash on Windows 7 > - > > Key: DAEMON-219 > URL: https://issues.apache.org/jira/browse/DAEMON-219 > Project: Commons Daemon > Issue Type: Bug > Components: Procrun >Affects Versions: 1.0.7 > Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500) > Maven home: C:\Java\apache-maven-3.0.3\bin\.. > Java version: 1.6.0_24, vendor: Sun Microsystems Inc. > Java home: C:\Program Files\Java\jdk1.6.0_24\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >Reporter: Gary D. Gregory > Attachments: WER8D3F.tmp.WERInternalMetadata.xml, > WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, > install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, > ldeservice3-stdout.2011-10-03.log > > > I've defined attached cmd file on Windows 7 to install a service. > I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons > Daemon Service Runner has stopped working" > Attaching all details. > Is there more debug logging I can turn on? The current debug output seems > minimal. > This is probably a configuration user error but I cannot tell due to the lack > of logging. > Thank you. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7
[ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119486#comment-13119486 ] Gary D. Gregory commented on DAEMON-219: I attached: - CurrentControlSet.reg for {{HKLM\System\CurrentControlSet\Services\LdeService3}} - A screen shot that shows that no entry is present for {{HKLM\Software\Apache Software Foundation\Procrun 2.0\LdeService3}} Thank you, Gary > prunsrv error 1067 and crash on Windows 7 > - > > Key: DAEMON-219 > URL: https://issues.apache.org/jira/browse/DAEMON-219 > Project: Commons Daemon > Issue Type: Bug > Components: Procrun >Affects Versions: 1.0.7 > Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500) > Maven home: C:\Java\apache-maven-3.0.3\bin\.. > Java version: 1.6.0_24, vendor: Sun Microsystems Inc. > Java home: C:\Program Files\Java\jdk1.6.0_24\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >Reporter: Gary D. Gregory > Attachments: CurrentControlSet.reg, NoKey.PNG, > WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, > WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, > ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log > > > I've defined attached cmd file on Windows 7 to install a service. > I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons > Daemon Service Runner has stopped working" > Attaching all details. > Is there more debug logging I can turn on? The current debug output seems > minimal. > This is probably a configuration user error but I cannot tell due to the lack > of logging. > Thank you. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DAEMON-219) prunsrv error 1067 and crash on Windows 7
[ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary D. Gregory updated DAEMON-219: --- Attachment: NoKey.PNG CurrentControlSet.reg > prunsrv error 1067 and crash on Windows 7 > - > > Key: DAEMON-219 > URL: https://issues.apache.org/jira/browse/DAEMON-219 > Project: Commons Daemon > Issue Type: Bug > Components: Procrun >Affects Versions: 1.0.7 > Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500) > Maven home: C:\Java\apache-maven-3.0.3\bin\.. > Java version: 1.6.0_24, vendor: Sun Microsystems Inc. > Java home: C:\Program Files\Java\jdk1.6.0_24\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >Reporter: Gary D. Gregory > Attachments: CurrentControlSet.reg, NoKey.PNG, > WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, > WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, > ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log > > > I've defined attached cmd file on Windows 7 to install a service. > I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons > Daemon Service Runner has stopped working" > Attaching all details. > Is there more debug logging I can turn on? The current debug output seems > minimal. > This is probably a configuration user error but I cannot tell due to the lack > of logging. > Thank you. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7
[ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119494#comment-13119494 ] Gary D. Gregory commented on DAEMON-219: >From the dump file: {noformat} Dump Summary Dump File: WERA3BD.tmp.mdmp : C:\test\WinService\WERA3BD.tmp.mdmp Last Write Time:10/3/2011 14:43:46 PM Process Name: prunsrv.exe : C:\Java\commons-daemon-1.0.7\win\amd64\prunsrv.exe Process Architecture: x64 Exception Code: 0xC005 Exception Information: The thread tried to read from or write to a virtual address for which it does not have the appropriate access. Heap Information: Not Present System Information -- OS Version: 6.1.7601 CLR Version(s): Modules --- Module Name Module Path Module Version --- --- -- prunsrv.exe C:\Java\commons-daemon-1.0.7\win\amd64\prunsrv.exe 1.0.7.0 ntdll.dll C:\Windows\System32\ntdll.dll 6.1.7601.17514 kernel32.dllC:\Windows\System32\kernel32.dll6.1.7601.17651 KERNELBASE.dll C:\Windows\System32\KERNELBASE.dll 6.1.7601.17651 advapi32.dllC:\Windows\System32\advapi32.dll6.1.7600.16385 msvcrt.dll C:\Windows\System32\msvcrt.dll 7.0.7600.16385 sechost.dll C:\Windows\System32\sechost.dll 6.1.7600.16385 rpcrt4.dll C:\Windows\System32\rpcrt4.dll 6.1.7601.17514 shell32.dll C:\Windows\System32\shell32.dll 6.1.7601.17514 shlwapi.dll C:\Windows\System32\shlwapi.dll 6.1.7601.17514 gdi32.dll C:\Windows\System32\gdi32.dll 6.1.7601.17514 user32.dll C:\Windows\System32\user32.dll 6.1.7601.17514 lpk.dll C:\Windows\System32\lpk.dll 6.1.7600.16385 usp10.dll C:\Windows\System32\usp10.dll 1.626.7601.17514 imm32.dll C:\Windows\System32\imm32.dll 6.1.7600.16385 msctf.dll C:\Windows\System32\msctf.dll 6.1.7600.16385 nvinitx.dll C:\Windows\System32\nvinitx.dll 8.17.12.5738 {noformat} > prunsrv error 1067 and crash on Windows 7 > - > > Key: DAEMON-219 > URL: https://issues.apache.org/jira/browse/DAEMON-219 > Project: Commons Daemon > Issue Type: Bug > Components: Procrun >Affects Versions: 1.0.7 > Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500) > Maven home: C:\Java\apache-maven-3.0.3\bin\.. > Java version: 1.6.0_24, vendor: Sun Microsystems Inc. > Java home: C:\Program Files\Java\jdk1.6.0_24\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >Reporter: Gary D. Gregory > Attachments: CurrentControlSet.reg, NoKey.PNG, > WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, > WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, > ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log > > > I've defined attached cmd file on Windows 7 to install a service. > I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons > Daemon Service Runner has stopped working" > Attaching all details. > Is there more debug logging I can turn on? The current debug output seems > minimal. > This is probably a configuration user error but I cannot tell due to the lack > of logging. > Thank you. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DAEMON-219) prunsrv error 1067 and crash on Windows 7
[ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary D. Gregory updated DAEMON-219: --- Attachment: (was: CurrentControlSet.reg) > prunsrv error 1067 and crash on Windows 7 > - > > Key: DAEMON-219 > URL: https://issues.apache.org/jira/browse/DAEMON-219 > Project: Commons Daemon > Issue Type: Bug > Components: Procrun >Affects Versions: 1.0.7 > Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500) > Maven home: C:\Java\apache-maven-3.0.3\bin\.. > Java version: 1.6.0_24, vendor: Sun Microsystems Inc. > Java home: C:\Program Files\Java\jdk1.6.0_24\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >Reporter: Gary D. Gregory > Attachments: NoKey.PNG, SystemLdeService3.txt, > WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, > WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, > ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log > > > I've defined attached cmd file on Windows 7 to install a service. > I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons > Daemon Service Runner has stopped working" > Attaching all details. > Is there more debug logging I can turn on? The current debug output seems > minimal. > This is probably a configuration user error but I cannot tell due to the lack > of logging. > Thank you. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DAEMON-219) prunsrv error 1067 and crash on Windows 7
[ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary D. Gregory updated DAEMON-219: --- Attachment: SystemLdeService3.txt > prunsrv error 1067 and crash on Windows 7 > - > > Key: DAEMON-219 > URL: https://issues.apache.org/jira/browse/DAEMON-219 > Project: Commons Daemon > Issue Type: Bug > Components: Procrun >Affects Versions: 1.0.7 > Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500) > Maven home: C:\Java\apache-maven-3.0.3\bin\.. > Java version: 1.6.0_24, vendor: Sun Microsystems Inc. > Java home: C:\Program Files\Java\jdk1.6.0_24\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >Reporter: Gary D. Gregory > Attachments: NoKey.PNG, SystemLdeService3.txt, > WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, > WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, > ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log > > > I've defined attached cmd file on Windows 7 to install a service. > I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons > Daemon Service Runner has stopped working" > Attaching all details. > Is there more debug logging I can turn on? The current debug output seems > minimal. > This is probably a configuration user error but I cannot tell due to the lack > of logging. > Thank you. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Issue Comment Edited] (DAEMON-219) prunsrv error 1067 and crash on Windows 7
[ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119486#comment-13119486 ] Gary D. Gregory edited comment on DAEMON-219 at 10/3/11 7:00 PM: - I attached: - SystemLdeService3.txt for {{HKLM\System\CurrentControlSet\Services\LdeService3}} - A screen shot that shows that no entry is present for {{HKLM\Software\Apache Software Foundation\Procrun 2.0\LdeService3}} Thank you, Gary was (Author: garydgregory): I attached: - CurrentControlSet.reg for {{HKLM\System\CurrentControlSet\Services\LdeService3}} - A screen shot that shows that no entry is present for {{HKLM\Software\Apache Software Foundation\Procrun 2.0\LdeService3}} Thank you, Gary > prunsrv error 1067 and crash on Windows 7 > - > > Key: DAEMON-219 > URL: https://issues.apache.org/jira/browse/DAEMON-219 > Project: Commons Daemon > Issue Type: Bug > Components: Procrun >Affects Versions: 1.0.7 > Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500) > Maven home: C:\Java\apache-maven-3.0.3\bin\.. > Java version: 1.6.0_24, vendor: Sun Microsystems Inc. > Java home: C:\Program Files\Java\jdk1.6.0_24\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >Reporter: Gary D. Gregory > Attachments: NoKey.PNG, SystemLdeService3.txt, > WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, > WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, > ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log > > > I've defined attached cmd file on Windows 7 to install a service. > I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons > Daemon Service Runner has stopped working" > Attaching all details. > Is there more debug logging I can turn on? The current debug output seems > minimal. > This is probably a configuration user error but I cannot tell due to the lack > of logging. > Thank you. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7
[ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119513#comment-13119513 ] Mladen Turk commented on DAEMON-219: So it seems your service didn't get properly installed. I suppose that Windows 2008 and UAC is enabled, so you cannot install services from cmd.exe You can try copying cmd.exe to cmda.exe inside \Windows\System32 and then right click on cmda,.exe and select 'Run As Administrator' Doing that on cmd.exe won't help cause it has to be different .exe name. Well, it might not work on your box ;) > prunsrv error 1067 and crash on Windows 7 > - > > Key: DAEMON-219 > URL: https://issues.apache.org/jira/browse/DAEMON-219 > Project: Commons Daemon > Issue Type: Bug > Components: Procrun >Affects Versions: 1.0.7 > Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500) > Maven home: C:\Java\apache-maven-3.0.3\bin\.. > Java version: 1.6.0_24, vendor: Sun Microsystems Inc. > Java home: C:\Program Files\Java\jdk1.6.0_24\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >Reporter: Gary D. Gregory > Attachments: NoKey.PNG, SystemLdeService3.txt, > WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, > WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, > ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log > > > I've defined attached cmd file on Windows 7 to install a service. > I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons > Daemon Service Runner has stopped working" > Attaching all details. > Is there more debug logging I can turn on? The current debug output seems > minimal. > This is probably a configuration user error but I cannot tell due to the lack > of logging. > Thank you. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7
[ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119522#comment-13119522 ] Gary D. Gregory commented on DAEMON-219: I followed your instructions but the result is the same. I am on Windows 7 with UAC off. Attaching a new mini dump: C:\Users\ggregory\AppData\Local\Temp\WEREF1.tmp.mdmp > prunsrv error 1067 and crash on Windows 7 > - > > Key: DAEMON-219 > URL: https://issues.apache.org/jira/browse/DAEMON-219 > Project: Commons Daemon > Issue Type: Bug > Components: Procrun >Affects Versions: 1.0.7 > Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500) > Maven home: C:\Java\apache-maven-3.0.3\bin\.. > Java version: 1.6.0_24, vendor: Sun Microsystems Inc. > Java home: C:\Program Files\Java\jdk1.6.0_24\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >Reporter: Gary D. Gregory > Attachments: NoKey.PNG, SystemLdeService3.txt, > WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, > WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, > ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log > > > I've defined attached cmd file on Windows 7 to install a service. > I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons > Daemon Service Runner has stopped working" > Attaching all details. > Is there more debug logging I can turn on? The current debug output seems > minimal. > This is probably a configuration user error but I cannot tell due to the lack > of logging. > Thank you. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OGNL-24) Support visitor pattern on AST
[ https://issues.apache.org/jira/browse/OGNL-24?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119533#comment-13119533 ] Simone Tripodi commented on OGNL-24: Contributions are reviewed as soon as some of us get a good slot of spare time to review, unfortunately no one of us is fulltime on OSS - I personally would like to do it! > Support visitor pattern on AST > -- > > Key: OGNL-24 > URL: https://issues.apache.org/jira/browse/OGNL-24 > Project: OGNL > Issue Type: New Feature >Reporter: Daniel Pitts > Attachments: visitor-pattern.patch > > > Supporting the visitor pattern on the AST tree allows for more modular > support of features and easier refactoring in the future. > Patch to be attached. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Issue Comment Edited] (DAEMON-219) prunsrv error 1067 and crash on Windows 7
[ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119522#comment-13119522 ] Gary D. Gregory edited comment on DAEMON-219 at 10/3/11 7:51 PM: - I followed your instructions but the result is the same. I am on Windows 7 with UAC off. This might help (or not): {noformat} > prunsrv.exe!00014000a460() [Frames below may be incorrect and/or missing, no symbols loaded for prunsrv.exe] prunsrv.exe!00014000d33f() prunsrv.exe!00014000daba() prunsrv.exe!00014000debd() prunsrv.exe!00014000e3b9() kernel32.dll!76eb652d() ntdll.dll!76fec521() {noformat} Can you tell where that is? Can we guard against this bomb and log something? Bombs at 00014000A460 in this subset of the whole thing: {noformat} 00014000A448 mov rbp,qword ptr [rsp+40h] 00014000A44D mov rsi,qword ptr [rsp+48h] 00014000A452 add rsp,20h 00014000A456 pop r12 00014000A458 ret 00014000A459 int 3 00014000A45A int 3 00014000A45B int 3 00014000A45C int 3 00014000A45D int 3 00014000A45E int 3 00014000A45F int 3 00014000A460 cmp byte ptr [rcx],0 00014000A463 mov rax,rcx 00014000A466 je 00014000A490 00014000A468 nop dword ptr [rax+rax] 00014000A470 movzx r9d,byte ptr [rcx] 00014000A474 cmp r9b,dl 00014000A477 jne 00014000A47E 00014000A479 mov byte ptr [rax],r8b 00014000A47C jmp 00014000A481 00014000A47E mov byte ptr [rax],r9b {noformat} was (Author: garydgregory): I followed your instructions but the result is the same. I am on Windows 7 with UAC off. Attaching a new mini dump: C:\Users\ggregory\AppData\Local\Temp\WEREF1.tmp.mdmp > prunsrv error 1067 and crash on Windows 7 > - > > Key: DAEMON-219 > URL: https://issues.apache.org/jira/browse/DAEMON-219 > Project: Commons Daemon > Issue Type: Bug > Components: Procrun >Affects Versions: 1.0.7 > Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500) > Maven home: C:\Java\apache-maven-3.0.3\bin\.. > Java version: 1.6.0_24, vendor: Sun Microsystems Inc. > Java home: C:\Program Files\Java\jdk1.6.0_24\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >Reporter: Gary D. Gregory > Attachments: NoKey.PNG, SystemLdeService3.txt, > WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, > WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, > ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log > > > I've defined attached cmd file on Windows 7 to install a service. > I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons > Daemon Service Runner has stopped working" > Attaching all details. > Is there more debug logging I can turn on? The current debug output seems > minimal. > This is probably a configuration user error but I cannot tell due to the lack > of logging. > Thank you. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7
[ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119576#comment-13119576 ] Mladen Turk commented on DAEMON-219: Look, unless you have the Registry key inside HKLM\Software\A S F\Procrun 2.0\YourServiceName there's no point to continue this. prunsrv breaks in //TS// probably because the registry is corrupted or missing like in your case. > prunsrv error 1067 and crash on Windows 7 > - > > Key: DAEMON-219 > URL: https://issues.apache.org/jira/browse/DAEMON-219 > Project: Commons Daemon > Issue Type: Bug > Components: Procrun >Affects Versions: 1.0.7 > Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500) > Maven home: C:\Java\apache-maven-3.0.3\bin\.. > Java version: 1.6.0_24, vendor: Sun Microsystems Inc. > Java home: C:\Program Files\Java\jdk1.6.0_24\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >Reporter: Gary D. Gregory > Attachments: NoKey.PNG, SystemLdeService3.txt, > WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, > WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, > ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log > > > I've defined attached cmd file on Windows 7 to install a service. > I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons > Daemon Service Runner has stopped working" > Attaching all details. > Is there more debug logging I can turn on? The current debug output seems > minimal. > This is probably a configuration user error but I cannot tell due to the lack > of logging. > Thank you. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7
[ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119610#comment-13119610 ] Gary D. Gregory commented on DAEMON-219: Hm, Ok, # What should go in {{HKLM\Software\A S F\Procrun 2.0\YourServiceName}}, exactly? # Why was this reg entry not created? Is that a bug? # If the entry could not be created, shouldn't this important information be logged as an error? # Shouldn't we log an error message instead of crashing when a reg entry is not found? Which of these deserve a JIRA? Thank you > prunsrv error 1067 and crash on Windows 7 > - > > Key: DAEMON-219 > URL: https://issues.apache.org/jira/browse/DAEMON-219 > Project: Commons Daemon > Issue Type: Bug > Components: Procrun >Affects Versions: 1.0.7 > Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500) > Maven home: C:\Java\apache-maven-3.0.3\bin\.. > Java version: 1.6.0_24, vendor: Sun Microsystems Inc. > Java home: C:\Program Files\Java\jdk1.6.0_24\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >Reporter: Gary D. Gregory > Attachments: NoKey.PNG, SystemLdeService3.txt, > WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, > WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, > ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log > > > I've defined attached cmd file on Windows 7 to install a service. > I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons > Daemon Service Runner has stopped working" > Attaching all details. > Is there more debug logging I can turn on? The current debug output seems > minimal. > This is probably a configuration user error but I cannot tell due to the lack > of logging. > Thank you. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Issue Comment Edited] (OGNL-8) use javacc to generate AST* and OGNLParser Java sources
[ https://issues.apache.org/jira/browse/OGNL-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119656#comment-13119656 ] Christian Grobmeier edited comment on OGNL-8 at 10/3/11 9:52 PM: - Daniel, i tried to include your patches. So far it looks like the right direction. I have even managed to compile it one time. But mvn test fails because of unresolved compilation failures. My assumption is that the generated sources are not put on the classpath when the mvn test runs. Can you confirm that? Another problem is Eclipse (at least for me). You generate into the target folder, which is surely correct, but did you somehow manage to add the generated sources on your ides classpath? (assuming you do not use Notepad and mvn only hehe :-)) I made a similar page this evening before I read you message. I have generated it into the src/main/java/.../javacc package which at least does solve the eclipse problem. My suggestion is we reenable code generation first and then care about the maven problems. What do you think? Any hints to make your patch working are very welcome of course. was (Author: cgrobmeier): Daniel, i tried to include your second patch (assuming the first one is already in svn - could not find any differences). So far it looks like the right direction. I have even managed to compile it one time. But mvn test fails because of unresolved compilation failures. My assumption is that the generated sources are not put on the classpath when the mvn test runs. Can you confirm that? Another problem is Eclipse (at least for me). You generate into the target folder, which is surely correct, but did you somehow manage to add the generated sources on your ides classpath? (assuming you do not use Notepad and mvn only hehe :-)) I made a similar page this evening before I read you message. I have generated it into the src/main/java/.../javacc package which at least does solve the eclipse problem. My suggestion is we reenable code generation first and then care about the maven problems. What do you think? Any hints to make your patch working are very welcome of course. > use javacc to generate AST* and OGNLParser Java sources > --- > > Key: OGNL-8 > URL: https://issues.apache.org/jira/browse/OGNL-8 > Project: OGNL > Issue Type: Task >Reporter: Olivier Lamy >Assignee: Olivier Lamy > Attachments: OGNL-8-keep-custom-AST.patch, OGNL-8.patch > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OGNL-8) use javacc to generate AST* and OGNLParser Java sources
[ https://issues.apache.org/jira/browse/OGNL-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119656#comment-13119656 ] Christian Grobmeier commented on OGNL-8: Daniel, i tried to include your second patch (assuming the first one is already in svn - could not find any differences). So far it looks like the right direction. I have even managed to compile it one time. But mvn test fails because of unresolved compilation failures. My assumption is that the generated sources are not put on the classpath when the mvn test runs. Can you confirm that? Another problem is Eclipse (at least for me). You generate into the target folder, which is surely correct, but did you somehow manage to add the generated sources on your ides classpath? (assuming you do not use Notepad and mvn only hehe :-)) I made a similar page this evening before I read you message. I have generated it into the src/main/java/.../javacc package which at least does solve the eclipse problem. My suggestion is we reenable code generation first and then care about the maven problems. What do you think? Any hints to make your patch working are very welcome of course. > use javacc to generate AST* and OGNLParser Java sources > --- > > Key: OGNL-8 > URL: https://issues.apache.org/jira/browse/OGNL-8 > Project: OGNL > Issue Type: Task >Reporter: Olivier Lamy >Assignee: Olivier Lamy > Attachments: OGNL-8-keep-custom-AST.patch, OGNL-8.patch > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OGNL-8) use javacc to generate AST* and OGNLParser Java sources
[ https://issues.apache.org/jira/browse/OGNL-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119666#comment-13119666 ] Daniel Pitts commented on OGNL-8: - Christian, my patch is an alternative to the original patch. I use IntelliJ IDEA for my IDE. If I recall correctly, it seemed to pick up the new code fine (the pom.xml file does set up a . You might have to manually update your project settings to include the generated code. I've never used Eclipse so I'm not sure how you might do that. I would suggest *not* generating into src/* since it is not a "source" per-se, but a production of the jjt file. FWIW, if I run mvn test from the command line, it passes: "Tests run: 727, Failures: 0, Errors: 0, Skipped: 0" If you can't get that to work, try applying the patch to the trunk revision as of "26/Sep/11 01:32" > use javacc to generate AST* and OGNLParser Java sources > --- > > Key: OGNL-8 > URL: https://issues.apache.org/jira/browse/OGNL-8 > Project: OGNL > Issue Type: Task >Reporter: Olivier Lamy >Assignee: Olivier Lamy > Attachments: OGNL-8-keep-custom-AST.patch, OGNL-8.patch > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (OGNL-8) use javacc to generate AST* and OGNLParser Java sources
[ https://issues.apache.org/jira/browse/OGNL-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Grobmeier updated OGNL-8: --- Attachment: patch-ognl-8-v1.patch Patch allows regeneration of the parser, leaves AST files intact. Generates into the java folder, which prevents problems with Eclipse/Maven (but is not very nice) > use javacc to generate AST* and OGNLParser Java sources > --- > > Key: OGNL-8 > URL: https://issues.apache.org/jira/browse/OGNL-8 > Project: OGNL > Issue Type: Task >Reporter: Olivier Lamy >Assignee: Olivier Lamy > Attachments: OGNL-8-keep-custom-AST.patch, OGNL-8.patch, > patch-ognl-8-v1.patch > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OGNL-8) use javacc to generate AST* and OGNLParser Java sources
[ https://issues.apache.org/jira/browse/OGNL-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119711#comment-13119711 ] Sebb commented on OGNL-8: - Have a look at jexl - that also uses javacc, and puts the generated sources under target. The Eclipse classpath just needs to be updated to add the source folders, something like: {code} {code} > use javacc to generate AST* and OGNLParser Java sources > --- > > Key: OGNL-8 > URL: https://issues.apache.org/jira/browse/OGNL-8 > Project: OGNL > Issue Type: Task >Reporter: Olivier Lamy >Assignee: Olivier Lamy > Attachments: OGNL-8-keep-custom-AST.patch, OGNL-8.patch, > patch-ognl-8-v1.patch > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OGNL-8) use javacc to generate AST* and OGNLParser Java sources
[ https://issues.apache.org/jira/browse/OGNL-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119669#comment-13119669 ] Christian Grobmeier commented on OGNL-8: Daniel and others, I have attached my own patch I did before I saw you have added one. It should be similar to what you did, because I: - moved jj/jjt files to src/main/javacc - integrated a javacc maven plugin into the pom.xml [1] - renamed the packages of the generated classes into o.a.c.ognl.javacc - removed the old sources - modified many AST* classes to suck the *.ognl.javacc classes - made mvn generate-sources - and runned all Junit tests from Eclipse. This worked well for me. According to your explaination it seems to be quite ok to modify the AST* files. My patch does reflect this too. The main difference is I am not going the nice way as you do but a bit more dirty way and generate into the src/main/java package. This resolves the ide problem and the maven-can-only-have-one-src-foler problem. If you want could take a look at it? Maybe we can make up a good solution with combined forces. > use javacc to generate AST* and OGNLParser Java sources > --- > > Key: OGNL-8 > URL: https://issues.apache.org/jira/browse/OGNL-8 > Project: OGNL > Issue Type: Task >Reporter: Olivier Lamy >Assignee: Olivier Lamy > Attachments: OGNL-8-keep-custom-AST.patch, OGNL-8.patch > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CLI-217) Optional partial matching for long options
[ https://issues.apache.org/jira/browse/CLI-217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119675#comment-13119675 ] Christopher Pouliot commented on CLI-217: - Example: options 'a' and 'ab' are parsed as equivalent. > Optional partial matching for long options > -- > > Key: CLI-217 > URL: https://issues.apache.org/jira/browse/CLI-217 > Project: Commons CLI > Issue Type: Improvement > Components: Parser >Affects Versions: 1.3 >Reporter: Emmanuel Bourg > Fix For: 1.3 > > > DefaultParser support partial long options (i.e --ver matches --version if > there is no ambiguity), but for some cases it might be necessary to disable > this feature. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OGNL-8) use javacc to generate AST* and OGNLParser Java sources
[ https://issues.apache.org/jira/browse/OGNL-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119703#comment-13119703 ] Olivier Lamy commented on OGNL-8: - perso I don't like too the idea about generating files to src/main/java as Daniel said it's generated files during the build. If there is any timestamp generated or a "touch" on those files, mvn release plugin will fail because you have file modified locally. I use idea and I don't have any issues with files generated in target/generated-sources. It's not a maven issue here but a poor support of generated sources by m2e. To fix that you have to add a huge number of files or write your own configurator Is there any possibility to add manually in eclipse target/generated-sources in sources directory ? Or at least this must not be in the standard lifecycle but in a profile activated by only for folks using m2e. > use javacc to generate AST* and OGNLParser Java sources > --- > > Key: OGNL-8 > URL: https://issues.apache.org/jira/browse/OGNL-8 > Project: OGNL > Issue Type: Task >Reporter: Olivier Lamy >Assignee: Olivier Lamy > Attachments: OGNL-8-keep-custom-AST.patch, OGNL-8.patch, > patch-ognl-8-v1.patch > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (LANG-744) StringUtils throws java.security.AccessControlException on Google App Engine
[ https://issues.apache.org/jira/browse/LANG-744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119717#comment-13119717 ] Sebb commented on LANG-744: --- No objections, so patch applied > StringUtils throws java.security.AccessControlException on Google App Engine > > > Key: LANG-744 > URL: https://issues.apache.org/jira/browse/LANG-744 > Project: Commons Lang > Issue Type: Bug > Components: lang.* >Affects Versions: 3.0.1 > Environment: Google App Engine >Reporter: Clément Denis > Fix For: 3.0.2 > > Attachments: LANG-744.patch > > > In the static initializer of org.apache.commons.lang3.StringUtils, there is > an attempt to load the class sun.text.Normalizer. > Such a class is prohibited on Google App Engine, and the static intializer > throws a java.security.AccessControlException. > {code} > Caused by: java.security.AccessControlException: access denied > (java.lang.RuntimePermission accessClassInPackage.sun.text) > at > java.security.AccessControlContext.checkPermission(AccessControlContext.java:374) > at > java.security.AccessController.checkPermission(AccessController.java:546) > at java.lang.SecurityManager.checkPermission(SecurityManager.java:532) > at > com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager.checkPermission(DevAppServerFactory.java:166) > at > java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1512) > at java.lang.Class.checkMemberAccess(Class.java:2164) > at java.lang.Class.getMethod(Class.java:1602) > at org.apache.commons.lang3.StringUtils.(StringUtils.java:739) > {code} > The exception should be caught in the catch clauses around > loadClass("sun.text.Normalizer"). > Commons lang 2 worked fine on GAE. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (NET-425) _openDataConnection_, __storeFile, and __storeFileStream should be protected and take String for FTP command.
_openDataConnection_, __storeFile, and __storeFileStream should be protected and take String for FTP command. - Key: NET-425 URL: https://issues.apache.org/jira/browse/NET-425 Project: Commons Net Issue Type: Improvement Components: FTP Environment: All Reporter: Steven Jardine Currently __storeFile, __storeStream, and _openConnection_ are declared as private and only receive int commands. I am trying to extend the FTPClient class to implement specialized commands that utilize these methods. In order for this to work I need to have these methods declared as protected as well as adjust the parameters to allow for String commands. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (NET-425) _openDataConnection_, __storeFile, and __storeFileStream should be protected and take String for FTP command.
[ https://issues.apache.org/jira/browse/NET-425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steven Jardine updated NET-425: --- Attachment: patch.txt Please consider the attached patch for inclusion in the project. > _openDataConnection_, __storeFile, and __storeFileStream should be protected > and take String for FTP command. > - > > Key: NET-425 > URL: https://issues.apache.org/jira/browse/NET-425 > Project: Commons Net > Issue Type: Improvement > Components: FTP > Environment: All >Reporter: Steven Jardine > Attachments: patch.txt > > > Currently __storeFile, __storeStream, and _openConnection_ are declared as > private and only receive int commands. I am trying to extend the FTPClient > class to implement specialized commands that utilize these methods. In order > for this to work I need to have these methods declared as protected as well > as adjust the parameters to allow for String commands. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (NET-425) _openDataConnection_, __storeFile, and __storeFileStream should be protected and take String for FTP command.
[ https://issues.apache.org/jira/browse/NET-425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119814#comment-13119814 ] Sebb commented on NET-425: -- Do you really require access to both the String and int versions of the methods? > _openDataConnection_, __storeFile, and __storeFileStream should be protected > and take String for FTP command. > - > > Key: NET-425 > URL: https://issues.apache.org/jira/browse/NET-425 > Project: Commons Net > Issue Type: Improvement > Components: FTP > Environment: All >Reporter: Steven Jardine > Attachments: patch.txt > > > Currently __storeFile, __storeStream, and _openConnection_ are declared as > private and only receive int commands. I am trying to extend the FTPClient > class to implement specialized commands that utilize these methods. In order > for this to work I need to have these methods declared as protected as well > as adjust the parameters to allow for String commands. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (NET-425) _openDataConnection_, __storeFile, and __storeFileStream should be protected and take String for FTP command.
[ https://issues.apache.org/jira/browse/NET-425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119836#comment-13119836 ] Steven Jardine commented on NET-425: I only use the String methods. I guess you could leave the int methods private but I really don't see why private access is required for these methods. > _openDataConnection_, __storeFile, and __storeFileStream should be protected > and take String for FTP command. > - > > Key: NET-425 > URL: https://issues.apache.org/jira/browse/NET-425 > Project: Commons Net > Issue Type: Improvement > Components: FTP > Environment: All >Reporter: Steven Jardine > Attachments: patch.txt > > > Currently __storeFile, __storeStream, and _openConnection_ are declared as > private and only receive int commands. I am trying to extend the FTPClient > class to implement specialized commands that utilize these methods. In order > for this to work I need to have these methods declared as protected as well > as adjust the parameters to allow for String commands. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CONFIGURATION-465) commons-configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119887#comment-13119887 ] Ralph Goers commented on CONFIGURATION-465: --- Jexl is used in the ExprLookup class. If you don't use it in your DefaultConfigurationBuilder configuration then Jexl would not be required. I didn't realize that Jexl had this issue so I appreciate you letting us know about it. Jexl 2.x requires Java 1.5 so it would definitely have to be an optional dependency since Commons Configuration supports Java 1.4. > commons-configuration > -- > > Key: CONFIGURATION-465 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-465 > Project: Commons Configuration > Issue Type: Bug >Affects Versions: 1.7 >Reporter: Rich Mayfield > > I updated to use commons-configuration 1.7 (from 1.6) and am running into the > following resolution error under Eclipse Equinox OSGi framework. > An Import-Package could not be resolved. Caused by missing constraint > in bundle > constraint: version="0.0.0"> > According to the Import-Package header in 1.7's MANIFEST.MF, > commons-configuration now has a required dependency on > org.apache.commons.jexl. Problem is, there is no OSGi enabled version of > Apache Commons jexl that exports this package. > In jexl 2.0 the packages were renamed and org.apache.commons.jexl2 is > exported. The 1.x codeline, although using org.apache.commons.jexl, does not > have the appropriate MANIFEST.MF headers to be used as an OSGi bundle. > As such, you cannot consume commons-configuration 1.7 in an OSGi environment. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OGNL-8) use javacc to generate AST* and OGNLParser Java sources
[ https://issues.apache.org/jira/browse/OGNL-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119917#comment-13119917 ] Simone Tripodi commented on OGNL-8: --- +1 to Olivier :) If you take a look at the first patch draft (18/May/11), you will notice that there are the javacc/build-helper plugins configurations that allow a clean maven build - that works as well also with m2eclipse. Hope that helps, unfortunately I'm not having so much spare time this week to touch directly stuff :( {code} +org.codehaus.mojo +javacc-maven-plugin +2.6 + + +jjtree-javacc + + jjtree-javacc + + + + + + + + +org.codehaus.mojo +build-helper-maven-plugin +1.5 + + +add-source +generate-sources + + add-source + + + +${project.build.dir}/generated-sources/jjtree +${project.build.dir}/generated-sources/javacc + + + + + + {code} > use javacc to generate AST* and OGNLParser Java sources > --- > > Key: OGNL-8 > URL: https://issues.apache.org/jira/browse/OGNL-8 > Project: OGNL > Issue Type: Task >Reporter: Olivier Lamy >Assignee: Olivier Lamy > Attachments: OGNL-8-keep-custom-AST.patch, OGNL-8.patch, > patch-ognl-8-v1.patch > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira