-
Enhancement
-
Resolution: Done
-
Major
-
4.3.1.Beta2
-
None
Following JBIDE-21340, we need to add validation of required git source parameter property in ParameterListPage.
To find out what parameter is the git repository url you'd do:
public String getGitRepoParameterKey() { ITemplate template = model.getSelectedTemplate(); if (template != null) { for(String key : new String[]{"SOURCE_REPOSITORY_URL", "GIT_URI"}) { if (template.getParameters().containsKey(key)) { return key; } } } return null; }
- is cloned by
-
JBIDE-21952 Enforce non empty git source parameter in templates
- Closed
- relates to
-
JBIDE-21340 Deploy from existing project git constraints are too stringent
- Closed