Skip to content

Commit

Permalink
Merge pull request #6164 from chrisrueger/remove-old-workspace-template
Browse files Browse the repository at this point in the history
Workspace templates: remove old bndtools/workspace
  • Loading branch information
chrisrueger authored Jun 27, 2024
2 parents ece52d5 + 7a0ca66 commit 16d068f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
7 changes: 4 additions & 3 deletions biz.aQute.bndlib/src/aQute/bnd/wstemplates/TemplateID.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public record TemplateID(String organisation, String repository, String path, St
g("path", set(lit("/"), SEGMENT_P)), opt(lit("/"))),
opt(lit("#"), g("branch", REF_P)) //
);
final static URI ROOT = URI.create("https://github.com/bndtools/workspace#master");
final static URI ROOT = URI.create("https://github.com/bndtools/bndtools.workspace.min#master");

@Override
public int compareTo(TemplateID o) {
Expand Down Expand Up @@ -58,8 +58,9 @@ public URI uri() {

/**
* Parse the id into a Template ID. The default is
* `bndtools/workspace#master`. The missing fields are taken from this
* default. If the id does not match the pattern, it is assumed to be a URI.
* `bndtools/bndtools.workspace.min#master`. The missing fields are taken
* from this default. If the id does not match the pattern, it is assumed to
* be a URI.
*
* @param id id or uri
* @return a TemplateId
Expand Down
2 changes: 1 addition & 1 deletion bndtools.core/src/bndtools/wizards/newworkspace/Model.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class Model implements Runnable {
static final IWorkspace ECLIPSE_WORKSPACE = ResourcesPlugin.getWorkspace();
static final IWorkspaceRoot ROOT = ECLIPSE_WORKSPACE.getRoot();
static final IPath ROOT_LOCATION = ROOT.getLocation();
static final URI TEMPLATE_HOME = URI.create("https:://github.com/bndtools/workspace");
static final URI TEMPLATE_HOME = URI.create("https:://github.com/bndtools/bndtools.workspace.min");

final static File current = ROOT_LOCATION.toFile();

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
bndtools/workspace;branch=origin/${version;==;${base.version}},
bndtools/bndtools.workspace.min

0 comments on commit 16d068f

Please sign in to comment.