Skip to content

Commit

Permalink
Add vmargs option to installFeature
Browse files Browse the repository at this point in the history
Change-Id: I867e6ffc916dce49ad31e0caa42af640bce6b934
Signed-off-by: Tu Ton <minhtutonthat@gmail.com>
  • Loading branch information
minhtutonthat committed Aug 12, 2020
1 parent 261a474 commit ee74004
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 ee74004

Please sign in to comment.