Examples of PBProject


Examples of org.objectstyle.woenvironment.pb.PBProject

   * @see org.apache.tools.ant.Task#execute()
   */
  @Override
  public void execute() throws BuildException {
    validateAttributes();
    PBProject proj = null;
    try {
      proj = (projectFile != null) ? new PBProject(projectFile.getPath(), framework) : new PBProject(framework);

      proj.setProjectName(name);
      proj.setClasses(extractJavaFiles(src));
      proj.setWoComponents(extractWOComponents(wocomponents));
      proj.setWoAppResources(extractResources(resources, "**/*.eomodeld/index.eomodeld"));
      proj.setWebServerResources(extractResources(wsresources, null));
      extractFrameworks(proj);

      proj.saveChanges();

      // notify everybody
      // PBProjectNotifications.postPBProjectDidUpgradeNotification(name);
    } catch (Exception ioex) {
      log("Error saving project file", Project.MSG_ERR);
View Full Code Here

Examples of org.objectstyle.woenvironment.pb.PBProject

  /**
   * @see junit.framework.TestCase#setUp()
   */
  protected void setUp() throws Exception {
    super.setUp();
    proj = new PBProject("PB.project", false);
  }
View Full Code Here

Examples of org.objectstyle.woenvironment.pb.PBProject

  }

  private void initPBProject() {
    ProjectAdapter projectAdapter = this.getProjectAdapter();
    try {
      this.pbProject = new PBProject(this.getUnderlyingFile().getLocation().toOSString(), projectAdapter.isFramework());
      this.pbProject.update();
      IFile underlyingFile = getUnderlyingFile();
      if (!underlyingFile.exists()) {
        this.rebuildRequired = true;
        pbProject.saveChanges();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.