Skip to content

Commit f8c2261

Browse files
author
Chris Wiechmann
committed
Bugfix on AppExport LocalFolder vs TargetFolder
1 parent 27b47cb commit f8c2261

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

modules/app-export/src/main/java/com/axway/apim/appexport/impl/JsonApplicationExporter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public void export(List<ClientApplication> apps) throws AppException {
4040

4141
private void saveApplicationLocally(ExportApplication app) throws AppException {
4242
String folderName = getExportFolder(app);
43-
String targetFolder = params.getLocalFolder();
43+
String targetFolder = params.getTarget();
4444
File localFolder = new File(targetFolder +File.separator+ folderName);
4545
LOG.info("Going to export applications into folder: " + localFolder);
4646
if(localFolder.exists()) {

modules/app-export/src/main/java/com/axway/apim/appexport/lib/AppExportParams.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,4 @@ public String getAppId() {
3232
public String getOrgName() {
3333
return getValue("orgName");
3434
}
35-
36-
public String getLocalFolder() {
37-
return (getValue("localFolder")==null) ? "." : getValue("localFolder");
38-
}
3935
}

0 commit comments

Comments
 (0)