-outputmask TEMPLATE ?
Description: /** * Calculate the file for a JAR. The default name is bsn.jar, but this can * be overridden with an * * @param jar * @return * @throws Exception */ public File getOutputFile(String bsn, String version) throws Exception { if (version == null) version = "0"; Processor scoped = new Processor(this); try { scoped.setProperty("@bsn", bsn); scoped.setProperty("@version", version.toString()); String path = scoped.getProperty(OUTPUTMASK, bsn + ".jar"); return IO.getFile(getTarget(), path); } finally { scoped.close(); } }
Date: 2019-10-12T19:48:23-04:00

- # -outputmask TEMPLATE ?

      /**
       * Calculate the file for a JAR. The default name is bsn.jar, but this can
       * be overridden with an
       *
       * @param jar
       * @return
       * @throws Exception
       */
      public File getOutputFile(String bsn, String version) throws Exception {
      	if (version == null)
      		version = "0";
      	Processor scoped = new Processor(this);
      	try {
      		scoped.setProperty("@bsn", bsn);
      		scoped.setProperty("@version", version.toString());
      		String path = scoped.getProperty(OUTPUTMASK, bsn + ".jar");
      		return IO.getFile(getTarget(), path);
      	}
      	finally {
      		scoped.close();
      	}
      }