Comments (5)
I think we can close this one. Can tpd files even cope with direct maven deps at all?
from tycho.
There is at least a feature request for this: eclipse-cbi/targetplatform-dsl#115
I think @mbarbero might be able to give more insights about future plans for TPD and user-base...
As described in the original bugzilla, tycho should be able to reuse the TPD plugin to first generate a temporary target and then simply read this one...
from tycho.
As already written in M2E I think in general it would better to enhance the capabilities of PDE's standard InstallableUnit
container and also enhance the tool support for it, so that in the end one can work in the Target Definition
Editor's Source
tab like in the TPD-Editor. In the end it should be like the TPD just with XML Syntax, so that the TPD becomes obsolete.
Actually I'm a big fan of the TPD and the workflow is really great, but we should not add extra work and code to support two formats when we already have duplicated work to support one format in the IDE (PDE, M2E, ...) and Tycho.
Christoph already added support for references to other *.target
-files to PDE recently that was just released with Eclipse 2022-03. So IIRC the only additional feature the TP-DSL offers in contrast to PDE's containers is the possibility to specify version ranges. Given that this can be implemented from a technical point of view I see no reason to not enhance the syntax of the InstallableUnit
container to support version ranges (in a backward compatible manner) there as well.
On the tooling side the Target-Definition Editor already has basic support to search for available IUs but there is room for improvements. But since a target-file uses the XML format I hope it is possible to re-use LemMinX for it. Not because the target-format should be available in other IDEs/Editor (which likely would not make sense) but to re-use its 'infrastructure'. Furthermore I hope this would allow to re-use the LemMinX-Maven tooling in the Target-Editor.
What I dream of, is to have the same tooling support in the Target-Editor's Source tab like in the POM Editor.
This might require some more work, but I'm willing to do it in the future (not sure when I have the time for it).
from tycho.
I think @mbarbero might be able to give more insights about future plans for TPD and user-base...
We welcome patches and will provide help to contributors, but this is no trivial task: the DSL has been designed with a single kind of location in mind...
As described in the original bugzilla, tycho should be able to reuse the TPD plugin to first generate a temporary target and then simply read this one...
That would work, but AFAIC remember, Tycho does not want to depend on anything that pulls Xtext...
from tycho.
That would work, but AFAIC remember, Tycho does not want to depend on anything that pulls Xtext...
As long as it's something we can easily remove, it's not too bad.
However I personally believe that the gap between .target and .tpd is getting smaller and smaller and that the remaining effort to make .target include the used features of .tpd is lower than the effort to directly support .tpd in Tycho or PDE, and that improving .target generates much more value; so tpd support doesn't seem so profitable.
from tycho.
Related Issues (20)
- Rework how target platform environments work
- Authentication fails when trying to resolve a target platform over an authenticated mirror that is a composite repository HOT 5
- Allow to generate the top list of modules (based on a pattern) HOT 1
- Goal fix-artifacts-metadata should support overriding configuration via System Properties (for invocation via CLI) HOT 3
- tycho goals touching artifacts.xml / content.xml should sort <artifact> / <unit> tags by their attributes for better "diffing" and readability HOT 3
- product / repository contains source jars by default HOT 24
- Specify target platform file in API Tools baseline
- Hangup in Java11HttpTransport HOT 2
- Use reference in Tycho when we install bundles
- tycho-p2-director:director uses wrong directory when run on macOS HOT 13
- FileAlreadyExistsException occures if I setup linux directory soft link for ~/.m2/repository/.meta HOT 2
- tycho-bnd-plugin doesn't have default lifecycle mapping HOT 3
- API Tools Plugin requires baseline to contain dependencies HOT 7
- API Tools Plugin should fail the build if the baseline resolution fails HOT 2
- Facilitate reproducible builds by dropping a target-platform-configuration 'log' HOT 8
- PRs with pending reviews are merged HOT 9
- tycho 2.7.5 not compatible with jdk11 HOT 1
- tycho-build 2.7.3 now requires Java17 HOT 1
- Feature version not incremented by tycho-versions:bump-versions
- OsgiTestBundleProject should override readArtifactKey HOT 5
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 tycho.