Lines 185-190
Link Here
|
185 |
|
185 |
|
186 |
// show app/metal for Rack applications, but only if the folder already exists |
186 |
// show app/metal for Rack applications, but only if the folder already exists |
187 |
boolean metal = fo.getFileObject("app/metal") != null;//NOI18N |
187 |
boolean metal = fo.getFileObject("app/metal") != null;//NOI18N |
|
|
188 |
boolean mails = fo.getFileObject("app/mails") != null;//NOI18N |
189 |
boolean middleware = fo.getFileObject("app/middleware") != null;//NOI18N |
190 |
boolean reports = fo.getFileObject("app/reports") != null;//NOI18N |
188 |
|
191 |
|
189 |
sourceRootNames = new ArrayList<String>(20); |
192 |
sourceRootNames = new ArrayList<String>(20); |
190 |
sourceRootProperties = new ArrayList<String>(20); |
193 |
sourceRootProperties = new ArrayList<String>(20); |
Lines 194-199
Link Here
|
194 |
if (metal) { |
197 |
if (metal) { |
195 |
sourceRootNames.add(getNodeDescription("app_metal")); // NOI18N |
198 |
sourceRootNames.add(getNodeDescription("app_metal")); // NOI18N |
196 |
} |
199 |
} |
|
|
200 |
if (mails) { |
201 |
sourceRootNames.add(getNodeDescription("app_mails")); // NOI18N |
202 |
} |
203 |
if (middleware) { |
204 |
sourceRootNames.add(getNodeDescription("app_middleware")); // NOI18N |
205 |
} |
206 |
if (reports) { |
207 |
sourceRootNames.add(getNodeDescription("app_reports")); // NOI18N |
208 |
} |
197 |
sourceRootNames.add(getNodeDescription("app_models")); // NOI18N |
209 |
sourceRootNames.add(getNodeDescription("app_models")); // NOI18N |
198 |
sourceRootNames.add(getNodeDescription("app_views")); // NOI18N |
210 |
sourceRootNames.add(getNodeDescription("app_views")); // NOI18N |
199 |
sourceRootProperties.add("app/controllers"); // NOI18N |
211 |
sourceRootProperties.add("app/controllers"); // NOI18N |
Lines 201-206
Link Here
|
201 |
if (metal) { |
213 |
if (metal) { |
202 |
sourceRootProperties.add("app/metal"); // NOI18N |
214 |
sourceRootProperties.add("app/metal"); // NOI18N |
203 |
} |
215 |
} |
|
|
216 |
if (mails) { |
217 |
sourceRootProperties.add("app/mails"); // NOI18N |
218 |
} |
219 |
if (middleware) { |
220 |
sourceRootProperties.add("app/middleware"); // NOI18N |
221 |
} |
222 |
if (reports) { |
223 |
sourceRootProperties.add("app/reports"); // NOI18N |
224 |
} |
204 |
sourceRootProperties.add("app/models"); // NOI18N |
225 |
sourceRootProperties.add("app/models"); // NOI18N |
205 |
sourceRootProperties.add("app/views"); // NOI18N |
226 |
sourceRootProperties.add("app/views"); // NOI18N |
206 |
|
227 |
|
Lines 212-217
Link Here
|
212 |
knownAppDirs.add("helpers"); // NOI18N |
233 |
knownAppDirs.add("helpers"); // NOI18N |
213 |
knownAppDirs.add("models"); // NOI18N |
234 |
knownAppDirs.add("models"); // NOI18N |
214 |
knownAppDirs.add("views"); // NOI18N |
235 |
knownAppDirs.add("views"); // NOI18N |
|
|
236 |
knownAppDirs.add("reports"); // NOI18N |
237 |
knownAppDirs.add("metal"); // NOI18N |
238 |
knownAppDirs.add("mails"); // NOI18N |
215 |
List<String> missing = findUnknownFolders(app, knownAppDirs); |
239 |
List<String> missing = findUnknownFolders(app, knownAppDirs); |
216 |
if (missing != null) { |
240 |
if (missing != null) { |
217 |
for (String name : missing) { |
241 |
for (String name : missing) { |