Package org.jnode.build

Examples of org.jnode.build.BuildException


                final Label lbl = new Label(X86JumpTable.TABLE_ENTRY_LABELS[i]);
                final int idx = (arch.getMode().is32()) ? i : i * 2;
                sharedStatics.setAddress(idx, lbl);
            }
        } catch (Exception e) {
            throw new BuildException(e);
        }
    }
View Full Code Here


     * @param descriptors
     */
    public void execute(ThreadPoolExecutor executor, final Map<String, File> descriptors) {
        if (isEnabled()) {
            if (path == null) {
                throw new BuildException("pathRefId is mandatory");
            }
           
            File[] userJars = userApplicationsDir.listFiles(new FileFilter() {

                @Override
View Full Code Here

            FileOutputStream fos = null;
            try {
                fos = new FileOutputStream(getPropertiesFile());
                properties.store(fos, "File automatically generated by JNode Packager");
            } catch (IOException e) {
                throw new BuildException("failed to write properties file", e);
            } finally {
                if (fos != null) {
                    try {
                        fos.close();
                    } catch (IOException e) {
                        throw new BuildException("failed to close properties file", e);
                    }
                }
            }
        }
    }
View Full Code Here

            out.println("  </extension>");
           
            out.println("</plugin>");
            success = true;
        } catch (IOException ioe) {
            throw new BuildException("failed to write plugin descriptor", ioe);
        } finally {
            if (out != null) {
                out.close();
            }
           
View Full Code Here

TOP

Related Classes of org.jnode.build.BuildException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.