Skip to content

Commit

Permalink
Merge pull request #16 from eclipse/fix-installFeature-master
Browse files Browse the repository at this point in the history
Add vmargs option to installFeature
  • Loading branch information
minhtutonthat committed Aug 12, 2020
2 parents 261a474 + ee74004 commit 2b0d480
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vars/eclipse.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ def installFeature(String targetProductPath, String featureRepository, String fe
sh "${targetProductPath} -repository ${featureRepository} -installIU ${featureName} -application org.eclipse.equinox.p2.director -noSplash"
}

def installFeature(String targetProductPath, String featureRepository, String featureName, String vmargs) {
sh "${targetProductPath} -repository ${featureRepository} -installIU ${featureName} -application org.eclipse.equinox.p2.director -noSplash -vmargs ${vmargs}"
}

def addFeatureToTargetPlatform(targetPlatformPath, updateSitePath, featureName) {
def updateSiteLocation = "location \"${updateSitePath}\" {\t${featureName}\n}"
def tpFileContent = readFile targetPlatformPath
Expand Down

0 comments on commit 2b0d480

Please sign in to comment.