equal
deleted
inserted
replaced
126 Log.verbose(MessageFormat.format( |
126 Log.verbose(MessageFormat.format( |
127 I18N.getString("message.creating-app-bundle"), |
127 I18N.getString("message.creating-app-bundle"), |
128 name, outputDirectory.getAbsolutePath())); |
128 name, outputDirectory.getAbsolutePath())); |
129 } |
129 } |
130 |
130 |
|
131 // NAME will default to CLASS, so the real problem is no MAIN_CLASS |
|
132 if (name == null) { |
|
133 throw new PackagerException("ERR_NoMainClass"); |
|
134 } |
|
135 |
131 // Create directory structure |
136 // Create directory structure |
132 File rootDirectory = new File(outputDirectory, name); |
137 File rootDirectory = new File(outputDirectory, name); |
133 |
138 |
134 if (rootDirectory.exists()) { |
139 if (rootDirectory.exists()) { |
135 throw new PackagerException("error.root-exists", |
140 throw new PackagerException("error.root-exists", |