Example usage for org.eclipse.jdt.internal.core.util Messages build_preparingBuild

List of usage examples for org.eclipse.jdt.internal.core.util Messages build_preparingBuild

Introduction

In this page you can find the example usage for org.eclipse.jdt.internal.core.util Messages build_preparingBuild.

Prototype

String build_preparingBuild

To view the source code for org.eclipse.jdt.internal.core.util Messages build_preparingBuild.

Click Source Link

Usage

From source file:net.sf.j2s.core.builder.JavaBuilder.java

License:Open Source License

private void buildAll() {
    this.notifier.checkCancel();
    this.notifier.subTask(Messages.bind(Messages.build_preparingBuild, this.currentProject.getName()));
    if (DEBUG && this.lastState != null)
        System.out.println("JavaBuilder: Clearing last state : " + this.lastState); //$NON-NLS-1$
    clearLastState();/*from w  w  w.j av  a2  s .  c  o  m*/
    BatchImageBuilder imageBuilder = new Java2ScriptBatchImageBuilder(this, true);
    imageBuilder.build();
    recordNewState(imageBuilder.newState);
}

From source file:net.sf.j2s.core.builder.JavaBuilder.java

License:Open Source License

private void buildDeltas(SimpleLookupTable deltas) {
    this.notifier.checkCancel();
    this.notifier.subTask(Messages.bind(Messages.build_preparingBuild, this.currentProject.getName()));
    if (DEBUG && this.lastState != null)
        System.out.println("JavaBuilder: Clearing last state : " + this.lastState); //$NON-NLS-1$
    clearLastState(); // clear the previously built state so if the build fails, a full build will occur next time
    IncrementalImageBuilder imageBuilder = new Java2ScriptIncrementalImageBuilder(this);
    if (imageBuilder.build(deltas)) {
        recordNewState(imageBuilder.newState);
    } else {/*from   ww w .  j  av a2 s.c om*/
        if (DEBUG)
            System.out.println("JavaBuilder: Performing full build since incremental build failed"); //$NON-NLS-1$
        buildAll();
    }
}