Well, I'm for anything that can improve what I did and for sure, the command line wasn't included, so, go ahead, I like :-)
Frédéric THOMAS ---------------------------------------- > From: [email protected] > Date: Wed, 1 Jul 2015 18:51:58 +0200 > Subject: Re: [3/5] git commit: [flex-falcon] [refs/heads/develop] - Fix NPE > To: [email protected] > >> >> eg. IntelliJ passes a config.xml and in more prevent you have a build >> configuration without output path. >> > > Yeah, but having an '-output' argument will force the 'js/out' parent > directories to be created, something I thought wasn't very helpful if > you're building from the command line. Why nest any deeper than is already > necessary? > > EdB > > > > >> Frédéric THOMAS >> >> >> ---------------------------------------- >>> From: [email protected] >>> To: [email protected] >>> Date: Wed, 1 Jul 2015 15:46:36 +0000 >>> Subject: [3/5] git commit: [flex-falcon] [refs/heads/develop] - Fix NPE >>> >>> Fix NPE >>> >>> This time such that the diff looks nicer ;-) >>> >>> Signed-off-by: Erik de Bruin <[email protected]> >>> >>> >>> Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo >>> Commit: >> http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/099263d4 >>> Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/099263d4 >>> Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/099263d4 >>> >>> Branch: refs/heads/develop >>> Commit: 099263d45f8fbdc7f332e801704f14129ea9bdbb >>> Parents: 185c377 >>> Author: Erik de Bruin <[email protected]> >>> Authored: Wed Jul 1 17:36:23 2015 +0200 >>> Committer: Erik de Bruin <[email protected]> >>> Committed: Wed Jul 1 17:36:23 2015 +0200 >>> >>> ---------------------------------------------------------------------- >>> flex-compiler-oem/src/flex2/tools/Tool.java | 4 ++++ >>> 1 file changed, 4 insertions(+) >>> ---------------------------------------------------------------------- >>> >>> >>> >> http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/099263d4/flex-compiler-oem/src/flex2/tools/Tool.java >>> ---------------------------------------------------------------------- >>> diff --git a/flex-compiler-oem/src/flex2/tools/Tool.java >> b/flex-compiler-oem/src/flex2/tools/Tool.java >>> index 132ea31..1e4c516 100644 >>> --- a/flex-compiler-oem/src/flex2/tools/Tool.java >>> +++ b/flex-compiler-oem/src/flex2/tools/Tool.java >>> @@ -190,6 +190,10 @@ public class Tool >>> throws org.apache.flex.compiler.exceptions.ConfigurationException >>> { >>> final String configFilePath = ArgumentUtil.getValue(args, >> "-load-config"); >>> + if (configFilePath == null) >>> + { >>> + return null; >>> + } >>> final File configFile = new File(configFilePath); >>> final FileSpecification fileSpecification = new >> FileSpecification(configFile.getAbsolutePath()); >>> final ConfigurationBuffer cfgbuf = >> createConfigurationBuffer(Configuration.class); >>> >> >> > > > > -- > Ix Multimedia Software > > Jan Luykenstraat 27 > 3521 VB Utrecht > > T. 06-51952295 > I. www.ixsoftware.nl
