On 6/23/20 1:58 PM, Raymond Auge wrote:
Further review of your error seems to indicate you are not using the specified version of bnd. Have you overridden this in your build.properties file?

The regex in bnd 5.1.1 release is `((\(|\[)\d{1,9}(\.\d{1,9}(\.\d{1,9}(\.[-\w]+)?)?)?,\d{1,9}(\.\d{1,9}(\.\d{1,9}(\.[-\w]+)?)?)?(\]|\)))|\d{1,9}(\.\d{1,9}(\.\d{1,9}(\.[-\w]+)?)?)?`


Thank you Ray, that was it!

Filip



- Ray

On Tue, Jun 23, 2020 at 4:05 PM Raymond Auge <[email protected] <mailto:[email protected]>> wrote:




            On Tue, Jun 23, 2020 at 3:45 PM Filip Hanik
            <[email protected] <mailto:[email protected]>> wrote:

                cd res/maven

                ant -f mvn-pub.xml generic-install



    I also ran this in the HEAD 9.0.x branch before your change
    (919183b438e1a2f0004082c69e34accc0c3e2f16) without error.

    - Ray

            I usually run

            ant clean deploy  embed

            Also I've added github actions build at least in my master
            fork that you can see is building on ubuntu and windows
            here
            https://github.com/rotty3000/tomcat/actions/runs/145316145

            I'll test the instructions you've given next.

            - ray

                Is that last command working for you?

                The error I'm getting is:

                package:
                      [jar] Building jar:
                
/development/pivotal/cloudfoundry/spring-projects/graal/tomcat10/output/build/lib/annotations-api.jar

                add-osgi:
                     [echo] add-osgi
                
/development/pivotal/cloudfoundry/spring-projects/graal/tomcat10/output/build/lib/annotations-api.jar
                true
                      [bnd] 1 ERRORS
                      [bnd]  Invalid value for Bundle-Version,
                ${version_cleanup;9.0.0-native-image-dev} does not
                match
                [0-9]{1,9}(\.[0-9]{1,9}(\.[0-9]{1,9}(\.[0-9A-Za-z_-]+)?)?)?
                      [bnd]
                
/development/pivotal/cloudfoundry/spring-projects/graal/tomcat10/res/bnd/annotations-api.jar.tmp.bnd:
                bnd failed
                      [bnd]     at
                
aQute.bnd.ant.BndTask.executeBackwardCompatible(BndTask.java:240)
                      [bnd]     at
                aQute.bnd.ant.BndTask.execute(BndTask.java:119)
                      [bnd]     at
                
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)

                Filip


                - Ray

                On Tue, Jun 23, 2020 at 3:21 PM Filip Hanik
                <[email protected] <mailto:[email protected]>> wrote:

                    *From:* Raymond Auge <[email protected]
                    <mailto:[email protected]>>
                    *Sent:* Tuesday, June 23, 2020 12:17 PM
                    *To:* Tomcat Developers List
                    <[email protected]
                    <mailto:[email protected]>>
                    *Subject:* Re: [tomcat] branch 9.0.x updated:
                    Fixes OSGI bundling error

                    k, so travis config is borked.. I should add
                    github actions.

                    *//*

                    I don’t think Travis tests artifact generation

                    - Ray

                    On Tue, Jun 23, 2020 at 3:13 PM Raymond Auge
                    <[email protected]
                    <mailto:[email protected]>> wrote:

                    <snip>



-- *Raymond Augé*
                <http://www.liferay.com/web/raymond.auge/profile> (@rotty3000)

                Senior Software Architect *Liferay, Inc.*
                <http://www.liferay.com> (@Liferay)



-- *Raymond Augé*
            <http://www.liferay.com/web/raymond.auge/profile> (@rotty3000)

            Senior Software Architect *Liferay, Inc.*
            <http://www.liferay.com> (@Liferay)



-- *Raymond Augé*
        <http://www.liferay.com/web/raymond.auge/profile> (@rotty3000)
        Senior Software Architect *Liferay, Inc.*
        <http://www.liferay.com> (@Liferay)



-- *Raymond Augé*
    <http://www.liferay.com/web/raymond.auge/profile> (@rotty3000)
    Senior Software Architect *Liferay, Inc.*
    <http://www.liferay.com> (@Liferay)



--
*Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile> (@rotty3000) Senior Software Architect *Liferay, Inc.* <http://www.liferay.com> (@Liferay)

Reply via email to