|
@@ -1,7 +1,7 @@ |
|
|
/* |
|
|
/* |
|
|
* The Apache Software License, Version 1.1 |
|
|
* The Apache Software License, Version 1.1 |
|
|
* |
|
|
* |
|
|
* Copyright (c) 2001-2003 The Apache Software Foundation. All rights |
|
|
|
|
|
|
|
|
* Copyright (c) 2001-2004 The Apache Software Foundation. All rights |
|
|
* reserved. |
|
|
* reserved. |
|
|
* |
|
|
* |
|
|
* Redistribution and use in source and binary forms, with or without |
|
|
* Redistribution and use in source and binary forms, with or without |
|
@@ -119,10 +119,10 @@ public class Gcj extends DefaultCompilerAdapter { |
|
|
cmd.createArgument().setValue("-d"); |
|
|
cmd.createArgument().setValue("-d"); |
|
|
cmd.createArgument().setFile(destDir); |
|
|
cmd.createArgument().setFile(destDir); |
|
|
|
|
|
|
|
|
if (destDir.mkdirs()) { |
|
|
|
|
|
|
|
|
if (!destDir.exists() && !destDir.mkdirs()) { |
|
|
throw new BuildException("Can't make output directories. " |
|
|
throw new BuildException("Can't make output directories. " |
|
|
+ "Maybe permission is wrong. "); |
|
|
+ "Maybe permission is wrong. "); |
|
|
}; |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
cmd.createArgument().setValue("-classpath"); |
|
|
cmd.createArgument().setValue("-classpath"); |
|
|