Skip to content

Commit

Permalink
Fixed pack project.
Browse files Browse the repository at this point in the history
  • Loading branch information
Htoonlin authored and Htoonlin committed Nov 10, 2017
1 parent ccecc7b commit 93c0dbb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/sdm/ide/controller/MainController.java
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ private void packProject(ActionEvent event) {
File mvnFile = new File(mvnDirectory);
if (!isMaven(mvnFile)) {
FileChooser fileChooser = new FileChooser();
fileChooser.setTitle("Choose mvn file to pack project.");
fileChooser.setInitialDirectory(projectDirectory);
mvnFile = fileChooser.showOpenDialog(primaryStage);
IDE.getPrefs().put(Constants.IDE.MVN_DIR, mvnFile.getPath());
Expand Down

0 comments on commit 93c0dbb

Please sign in to comment.