GithubHelp home page GithubHelp logo

Comments (7)

merks avatar merks commented on September 8, 2024

The signature files look different (have different names) with the latest signing service:

image

from birt.

merks avatar merks commented on September 8, 2024

I noticed this is the log:

[INFO]  [buildJar] load bundle uk.co.spudsoft.birt.emitters.excel from uk.co.spudsoft.birt.emitters.excel_4.17.0.v202407221948
Jul 23, 2024 7:42:35 AM org.eclipse.birt.build.pack.FrameworkPacker log
WARNING: duplicate org.eclipse.birt.chart.device.pdf/META-INF/CODESIGN.SF
Jul 23, 2024 7:42:35 AM org.eclipse.birt.build.pack.FrameworkPacker log
WARNING: duplicate org.eclipse.birt.chart.device.pdf/META-INF/CODESIGN.RSA

So indeed the new CODESIGN.* files are ending up in the runtime jar and are of course invalid. It's coincidentally convenient that yesterday I was cleaning up the org.eclipse.birt.build project which implements the ant tasks that builds the jar, so I know where to look to fix this...

from birt.

merks avatar merks commented on September 8, 2024

That being said, older successful showed this:

[INFO]  [buildJar] load bundle uk.co.spudsoft.birt.emitters.excel from uk.co.spudsoft.birt.emitters.excel_4.17.0.v202407201614
Jul 22, 2024 1:11:33 PM org.eclipse.birt.build.pack.FrameworkPacker log
WARNING: duplicate org.eclipse.birt.chart.device.pdf/META-INF/ECLIPSE_.SF
Jul 22, 2024 1:11:33 PM org.eclipse.birt.build.pack.FrameworkPacker log
WARNING: duplicate org.eclipse.birt.chart.device.pdf/META-INF/ECLIPSE_.RSA

Probably original the name was ECLIPSEF and was intended to be filtered out:

https://github.com/eclipse-birt/birt/blob/5f379b5b7dc7fffaff546b944adfe3ca1067aa08/build/org.eclipse.birt.build/src/org/eclipse/birt/build/ant/PackTask.java#L183C7-L186

I will try to enhance the filter.

from birt.

merks avatar merks commented on September 8, 2024

I noticed this now as well:

image

So the last time this was a problem, more than 9 years ago, it wasn't fixed by fixing the ant task implementation but by post-processing the jar produced by that task. Such a tangled web was woven...

from birt.

merks avatar merks commented on September 8, 2024

The above ant hack will also be cleaned up.

Thank goodness the tests for the runtimes were enabled, otherwise someone downstream would have noticed this at some later point in time, do doubt when it's least convenient rather than the day after the signing service was updated.

from birt.

merks avatar merks commented on September 8, 2024

The signature file names might be changed back to ECLIPSE_ but I already changed the pattern to accommodate that name as well:

"(.*\\.jar/)?META-INF/(ECLIPSEF|ECLIPSE_|CODESIGN)\\..*"

from birt.

hvbtup avatar hvbtup commented on September 8, 2024

Ed, I really admire your endurance and your work...

from birt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.