Comments (9)
We at @SerNet would appreciate this.
from birt.
Ed @merks is it possible to add maven dependency to setup.targlets:TargletTask
? I can found how to reference the .target file to be activated but nothing about Maven artifacts.
We have a number of dependencies in the form:
<location includeDependencyScope="compile" includeSource="true" missingManifest="generate" type="Maven">
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
<version>10.0.6</version>
<type>jar</type>
</location>
How would you handle this with Oomph?
I also asked here
https://www.eclipse.org/forums/index.php/m/1847541/#msg_1847541
from birt.
Sorry, there is no support for that. Ideally someone would simply generate a Jetty update site that everyone can reuse, but that appears to be wishful thinking with both the Platform and WTP spinning such things, but only for the parts they respectively need.
from birt.
I did a bit of digging and found these:
jetty/jetty.project#6403
jetty/jetty.project#6404
So I found that these p2 update sites exist:
https://search.maven.org/artifact/org.eclipse.jetty/jetty-p2
These can be used directly by p2 using a URL like this:
jar:https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-p2/10.0.7/jetty-p2-10.0.7-p2site.zip!/
But resolution fails because
ERROR: org.eclipse.equinox.p2.director code=0 Software being installed: artificial_root 1.0.0.v1635751513019
ERROR: org.eclipse.equinox.p2.director code=0 Missing requirement: org.eclipse.birt.rcp.feature.group 4.9.0.v20211101-082503 requires 'org.eclipse.equinox.p2.iu; org.eclipse.jetty.continuation 0.0.0' but it could not be found
ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
ERROR: org.eclipse.equinox.p2.director code=0 From: artificial_root 1.0.0.v1635751513019
If I remove that dependency, it gets further, but fails like this:
ERROR: org.eclipse.equinox.p2.engine code=0 session context was:(profile=D__Users_test_birt-master_ws-1f7da47122711d3168e64bbe8212f2ea91b32f67, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Problems downloading artifact: osgi.bundle,org.eclipse.jetty.deploy,10.0.7.
ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Signature is invalid for current content.
ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Problems downloading artifact: osgi.bundle,org.eclipse.jetty.http,10.0.7.
ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Signature is invalid for current content.
ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Problems downloading artifact: osgi.bundle,org.eclipse.jetty.io,10.0.7.
ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Signature is invalid for current content.
ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Problems downloading artifact: osgi.bundle,org.eclipse.jetty.jndi,10.0.7.
ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Signature is invalid for current content.
ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Problems downloading artifact: osgi.bundle,org.eclipse.jetty.osgi.boot,10.0.7.
ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Signature is invalid for current content.
ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Problems downloading artifact: osgi.bundle,org.eclipse.jetty.plus,10.0.7.
ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Signature is invalid for current content.
ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Problems downloading artifact: osgi.bundle,org.eclipse.jetty.security,10.0.7.
ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Signature is invalid for current content.
ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Problems downloading artifact: osgi.bundle,org.eclipse.jetty.server,10.0.7.
ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Signature is invalid for current content.
ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Problems downloading artifact: osgi.bundle,org.eclipse.jetty.servlet,10.0.7.
ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Signature is invalid for current content.
ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Problems downloading artifact: osgi.bundle,org.eclipse.jetty.util,10.0.7.
ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Signature is invalid for current content.
ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Problems downloading artifact: osgi.bundle,org.eclipse.jetty.webapp,10.0.7.
ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Signature is invalid for current content.
ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Problems downloading artifact: osgi.bundle,org.eclipse.jetty.xml,10.0.7.
ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Signature is invalid for current content.
So that doesn't look so good...
The above is an error from the new PGP signature verification that is produced here:
A bug?
Perhaps a location in a *.target file doesn't do any verification?
from birt.
Investigating locally in an Oomph runtime instance I get a failure like this:
ERROR: org.eclipse.equinox.p2.engine code=0 session context was:(profile=D__Users_merks_oomph-1.23_ws-IDE-0f0cce59e727abd0ac508a95d9159270dc7fb384, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
ERROR: org.eclipse.equinox.p2.transport.ecf code=1002 Unable to read repository at mvn:org.eclipse.jetty:jetty-util:10.0.7:jar:.
So clearly I'm missing the thing that registers the mvn protocol...
from birt.
Ed @merks please also have a look at my PR #677
I tried to use pde:TargetPlatformTask
(that could postpone our battle with Jetty) but the .target is not activated for some reason (https://github.com/eclipse/birt/pull/677/files#r740025382 ).
I'm using target file name without .target
extension.
from birt.
Guys, jetty is in the target platform. That needs to be activated.
from birt.
The latest PR state contains activation of https://github.com/eclipse/birt/blob/master/build/org.eclipse.birt.target/org.eclipse.birt.target.target
from birt.
This one was fixed. Thanks all for pushing this. An important step forward.
Please use the new installer link and follow the instructions. The link is also available from the README.MD:
from birt.
Related Issues (20)
- org.eclipse.birt.promote fails on master builds after move to Tycho 4.0.3 HOT 1
- Update the BIRT setup to specialize how the target platform is generated HOT 1
- BIRT 4.14 Release Review HOT 26
- Try to eliminate BIRT's org.w3c.sac bundle which is just a wrapper for the flute CSS parser HOT 1
- PdfEmitter, Enhancement: Enable options to set the PDF/Version & archiving formats PDF/A (A1A & A1B) HOT 13
- Master does not build anymore HOT 2
- XLSX: row-height and col-width based on "px" wount be display correctly HOT 2
- UI displays long numbers in 2 lines HOT 4
- getDimensionValue(String) no longer available in nLayout HOT 2
- BIRT 4.15 opening ceremony HOT 3
- Damaged build for macos HOT 6
- eventHandlerClass with initialize Script HOT 1
- New issue with null values for decimal DS parameters HOT 3
- NPE in SvgFile.isSvg(String) HOT 4
- dispose of temp-files when using StreamingXlsx in spudsoft XlsxEmitter
- BIRT 4.14 output type PPTX: issue with border right, is unset in special cases HOT 2
- How do I test PCL plugin for the artifacts from PR 1531? HOT 1
- When we connect Birt 4.1 to Mongo 3.6 it gives following error HOT 2
- Rounded corners on charts HOT 1
- BIRT 4.14 creates an indent for grids in footer & header HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from birt.