| Summary: | Generator Main class should use ./src-gen/ as output location | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Karsten Thoms <karsten.thoms> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | knut.wannheden, sebastian.zarnekow, sven.efftinge |
| Version: | 2.0.0 | Flags: | sebastian.zarnekow:
indigo+
|
| Target Milestone: | RC1 | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
|
Description
Karsten Thoms
Maybe it would make sense to verify if changing JavaIoFileSystemAccess#createFolder() to simply use File#mkdirs() instead of having it recursively call File#mkdir() solves the problem. I.e.
protected void createFolder(File parent) {
if(!parent.exists()) {
parent.mkdirs();
}
}
or even just:
protected void createFolder(File parent) {
parent.mkdirs();
}
instead of:
protected void createFolder(File parent) {
if(!parent.exists()) {
createFolder(parent.getParentFile());
parent.mkdir();
}
}
see also bug 342663 Preliminary scheduled for 2.0RC1 pushed Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |