Problem building ApiDemo

Problem building ApiDemo

Postby Guest » Tue Jul 11, 2006 7:17 pm

I have a problem building the first example given by pos?idon with Ant. At the end of the message you can find the build log. I have no clue of what to do. I saw some people talking about refactoring but I don't know how to do it. I would really appreciate a detailed help. I am using eclipse 3.2 and my Pos?idon is Pos?idon 4.1.2.

Thank you a lot for your help !

Jeff

Buildfile: /Users/jeff/Desktop/ApiDemo-1.1.0-src/ant/build.xml
-apidemo.package-req:
-apidemo.compile.production:
[javac] Compiling 4 source files to /Users/jeff/Desktop/ApiDemo-1.1.0-src/build/classes
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:3: package com.gentleware.openapi.jboogie does not exist
[javac] import com.gentleware.openapi.jboogie.*;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:4: package com.gentleware.poseidon.openapi does not exist
[javac] import com.gentleware.poseidon.openapi.PoseidonProjectConnector;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:5: package com.gentleware.poseidon.openapi does not exist
[javac] import com.gentleware.poseidon.openapi.PoseidonUIConnector;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:6: package com.gentleware.poseidon.openapi.uml does not exist
[javac] import com.gentleware.poseidon.openapi.uml.PoseidonUmlConnector;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:7: package com.gentleware.poseidon.openapi.uml does not exist
[javac] import com.gentleware.poseidon.openapi.uml.Uml1SmCommandFactory;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:8: package com.gentleware.poseidon.ui does not exist
[javac] import com.gentleware.poseidon.ui.DetailsTab;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:9: package com.gentleware.poseidon.ui does not exist
[javac] import com.gentleware.poseidon.ui.MenuResourceBundle;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:10: package com.gentleware.poseidon.uml does not exist
[javac] import com.gentleware.poseidon.uml.UmlProject;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:11: package org.omg.uml.foundation.core does not exist
[javac] import org.omg.uml.foundation.core.Classifier;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:12: package org.omg.uml.foundation.datatypes does not exist
[javac] import org.omg.uml.foundation.datatypes.AggregationKindEnum;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:13: package org.omg.uml.foundation.datatypes does not exist
[javac] import org.omg.uml.foundation.datatypes.ChangeableKindEnum;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:14: package org.omg.uml.foundation.datatypes does not exist
[javac] import org.omg.uml.foundation.datatypes.ScopeKindEnum;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:15: package org.omg.uml.foundation.datatypes does not exist
[javac] import org.omg.uml.foundation.datatypes.VisibilityKindEnum;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:16: package org.omg.uml.modelmanagement does not exist
[javac] import org.omg.uml.modelmanagement.Model;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:17: package org.omg.uml2.diagraminterchange does not exist
[javac] import org.omg.uml2.diagraminterchange.Diagram;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:30: cannot find symbol
[javac] symbol: class DetailsTab
[javac] public class ApiDemoPane extends DetailsTab {
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:37: cannot find symbol
[javac] symbol : class Project
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] private Project _project;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:38: cannot find symbol
[javac] symbol : class Model
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] private Model _model;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:39: cannot find symbol
[javac] symbol : class SmId
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] private SmId _modelSmId;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:40: cannot find symbol
[javac] symbol : class Uml1SmCommandFactory
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] private Uml1SmCommandFactory _uml1SmCommandFactory;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:41: cannot find symbol
[javac] symbol : class DiId
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] private DiId _employeeDiId;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:42: cannot find symbol
[javac] symbol : class SmId
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] private SmId _employeeSmId;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:43: cannot find symbol
[javac] symbol : class DiId
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] private DiId _personDiId;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:44: cannot find symbol
[javac] symbol : class SmId
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] private SmId _personSmId;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:45: cannot find symbol
[javac] symbol : class DiId
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] private DiId _companyDiId;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:46: cannot find symbol
[javac] symbol : class SmId
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] private SmId _companySmId;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:49: cannot find symbol
[javac] symbol : class SmId
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] protected SmId _associationCompanyEmployeeSmId;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:50: cannot find symbol
[javac] symbol : class DiCommandFactory
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] protected DiCommandFactory _diCommandFactory;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:51: cannot find symbol
[javac] symbol : class DiId
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] protected DiId _packageDiId;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:52: cannot find symbol
[javac] symbol : class SmId
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] protected SmId _packageSmId;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/modules/ApiDemoPlugin.java:8: package com.gentleware.poseidon.kernel does not exist
[javac] import com.gentleware.poseidon.kernel.PoseidonProject;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/modules/ApiDemoPlugin.java:9: package com.gentleware.poseidon.openapi does not exist
[javac] import com.gentleware.poseidon.openapi.PoseidonProjectConnector;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/modules/ApiDemoPlugin.java:10: package com.gentleware.poseidon.openapi does not exist
[javac] import com.gentleware.poseidon.openapi.PoseidonUIConnector;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/modules/ApiDemoPlugin.java:11: package com.gentleware.poseidon.uml does not exist
[javac] import com.gentleware.poseidon.uml.UmlProject;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/modules/ApiDemoPlugin.java:12: package com.gentleware.poseidon.uml does not exist
[javac] import com.gentleware.poseidon.uml.Uml1ProjectType;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/modules/ApiDemoPlugin.java:13: package com.gentleware.poseidon.util.plugin does not exist
[javac] import com.gentleware.poseidon.util.plugin.PoseidonModuleInstall;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/modules/ApiDemoPlugin.java:18: cannot find symbol
[javac] symbol: class PoseidonModuleInstall
[javac] public class ApiDemoPlugin extends PoseidonModuleInstall {
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/modules/OpenSomethingAction.java:4: package com.gentleware.openapi.jboogie does not exist
[javac] import com.gentleware.openapi.jboogie.Project;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/modules/OpenSomethingAction.java:5: package com.gentleware.openapi.jboogie does not exist
[javac] import com.gentleware.openapi.jboogie.ProjectAction;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/modules/OpenSomethingAction.java:6: package com.gentleware.openapi.swingx does not exist
[javac] import com.gentleware.openapi.swingx.ResourceId;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/modules/OpenSomethingAction.java:7: package com.gentleware.poseidon.openapi does not exist
[javac] import com.gentleware.poseidon.openapi.PoseidonCoreConnector;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/modules/OpenSomethingAction.java:8: package com.gentleware.poseidon.openapi does not exist
[javac] import com.gentleware.poseidon.openapi.PoseidonProjectConnector;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/modules/OpenSomethingAction.java:9: package com.gentleware.poseidon.openapi does not exist
[javac] import com.gentleware.poseidon.openapi.PoseidonUIConnector;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/modules/OpenSomethingAction.java:10: package org.apache.log4j does not exist
[javac] import org.apache.log4j.Logger;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/modules/OpenSomethingAction.java:19: cannot find symbol
[javac] symbol: class ProjectAction
[javac] public class OpenSomethingAction extends ProjectAction {
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/modules/OpenSomethingAction.java:20: cannot find symbol
[javac] symbol : class Logger
[javac] location: class com.gentleware.apidemo.modules.OpenSomethingAction
[javac] private static final Logger LOGGER = Logger.getLogger("com.gentleware.apidemo.modules.OpenSomethingAction");
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/modules/OpenSomethingAction.java:22: cannot find symbol
[javac] symbol : class Project
[javac] location: class com.gentleware.apidemo.modules.OpenSomethingAction
[javac] public OpenSomethingAction(final Project owner) {
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:59: cannot find symbol
[javac] symbol : variable MenuResourceBundle
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] super(MenuResourceBundle.Untitled);
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:60: cannot find symbol
[javac] symbol : method setTitle(java.lang.String)
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] setTitle(PANEL_TITLE); // for the display
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:61: cannot find symbol
[javac] symbol : method setName(java.lang.String)
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] setName(PANEL_TITLE); // this is for the lookup
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:62: cannot find symbol
[javac] symbol : method setLayout(<nulltype>)
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] setLayout(null);
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:66: cannot find symbol
[javac] symbol : method add(javax.swing.JButton)
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] add(_createIntoExistingDiagramButton);
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:71: cannot find symbol
[javac] symbol : method add(javax.swing.JButton)
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] add(_createNewDiagramAndAddExistingModelElementsButton);
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:75: cannot find symbol
[javac] symbol : method add(javax.swing.JButton)
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] add(_createIntoModelAndAddLaterButton);
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:79: cannot find symbol
[javac] symbol : method add(javax.swing.JButton)
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] add(_removeAndDeleteStuffButton);
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:83: cannot find symbol
[javac] symbol : method add(javax.swing.JButton)
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] add(_moveEmployeeAroundButton);
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:86: cannot find symbol
[javac] symbol : method add(javax.swing.JTextArea)
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] add(_textArea);
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:87: cannot find symbol
[javac] symbol : method setVisible(boolean)
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] setVisible(true);
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:114: cannot find symbol
[javac] symbol : variable PoseidonProjectConnector
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] _project = PoseidonProjectConnector.getCurrentProject();
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:116: cannot find symbol
[javac] symbol : class Model
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] _model = (Model) _project.getModel(0);
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:121: cannot find symbol
[javac] symbol : variable PoseidonUmlConnector
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] _uml1SmCommandFactory = PoseidonUmlConnector.getCommandSmFactory();
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:123: cannot find symbol
[javac] symbol : variable PoseidonProjectConnector
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] _diCommandFactory = PoseidonProjectConnector.getCommandDiFactory();
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:143: cannot find symbol
[javac] symbol : class Diagram
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final Diagram currentDiagram = PoseidonUIConnector.getCurrentDiagram();
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:143: cannot find symbol
[javac] symbol : variable PoseidonUIConnector
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final Diagram currentDiagram = PoseidonUIConnector.getCurrentDiagram();
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:145: cannot find symbol
[javac] symbol : class DiId
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final DiId diagramDiId = _project.getDiId(currentDiagram);
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:150: cannot find symbol
[javac] symbol : class Command
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final Command commandCreatePackage = _uml1SmCommandFactory.makeCommandCreatePackage(_packageSmId, "Package",
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:163: cannot find symbol
[javac] symbol : class Command
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final Command commandSetModelElement = _uml1SmCommandFactory.makeCommandSmSetModelElementName(_packageSmId,
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:168: cannot find symbol
[javac] symbol : class Command
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final Command commandCreatePerson = _uml1SmCommandFactory.makeCommandCreateClass(_personSmId, "Person",
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:174: cannot find symbol
[javac] symbol : class Command
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final Command commandCreateEmployee = _uml1SmCommandFactory.makeCommandCreateClass(_employeeSmId, "Employee",
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:179: cannot find symbol
[javac] symbol : class Command
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final Command commandCreateGeneralization = _uml1SmCommandFactory.makeCommandCreateGeneralization(
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:184: cannot find symbol
[javac] symbol : class Command
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final Command commandCreateCompany = _uml1SmCommandFactory.makeCommandCreateClass(_companySmId, "Company",
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:189: cannot find symbol
[javac] symbol : class Command
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final Command commandCreateAssociation = _uml1SmCommandFactory.makeCommandCreateAssociation(
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:194: cannot find symbol
[javac] symbol : class Command
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final Command commandSetAssociationEnd = _uml1SmCommandFactory.makeCommandSmSetAssociationEnd(
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:195: cannot find symbol
[javac] symbol : variable AggregationKindEnum
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] _associationCompanyEmployeeSmId, new Integer(1), Boolean.TRUE, AggregationKindEnum.AK_AGGREGATE);
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:198: cannot find symbol
[javac] symbol : class Command
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final Command commandSetAssociationName = _uml1SmCommandFactory.makeCommandSmSetModelElementName(
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:202: cannot find symbol
[javac] symbol : class SmId
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final SmId attributeSmId = _project.getNextSmId();
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:206: cannot find symbol
[javac] symbol : class UmlProject
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final UmlProject umlProject = (UmlProject) _project;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:206: cannot find symbol
[javac] symbol : class UmlProject
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final UmlProject umlProject = (UmlProject) _project;
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:207: cannot find symbol
[javac] symbol : class Classifier
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final Classifier type = (Classifier) umlProject.getUml1SmAccessory().findTypeInModel("int", _model,
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:207: cannot find symbol
[javac] symbol : class Classifier
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final Classifier type = (Classifier) umlProject.getUml1SmAccessory().findTypeInModel("int", _model,
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:208: cannot find symbol
[javac] symbol : class Classifier
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] Classifier.class);
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:209: cannot find symbol
[javac] symbol : class SmId
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final SmId typeSmId = _project.getSmId(type);
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:210: cannot find symbol
[javac] symbol : variable ScopeKindEnum
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] _uml1SmCommandFactory.makeCommandSmSetStructuralFeature(attributeSmId, ScopeKindEnum.SK_CLASSIFIER,
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:211: cannot find symbol
[javac] symbol : variable ChangeableKindEnum
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] ChangeableKindEnum.CK_CHANGEABLE, typeSmId)
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:214: cannot find symbol
[javac] symbol : class SmId
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final SmId operationSmId = _project.getNextSmId();
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:226: cannot find symbol
[javac] symbol : class DiId
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final DiId newDiagramDiId = _project.getNextDiId();
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:228: cannot find symbol
[javac] symbol : class SmId
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final SmId computerSmId = _project.getNextSmId();
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:229: cannot find symbol
[javac] symbol : class Command
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final Command commandCreateComputerOnlyInModel = _uml1SmCommandFactory.makeCommandSmCreateClass(computerSmId,
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:232: cannot find symbol
[javac] symbol : variable VisibilityKindEnum
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] VisibilityKindEnum.VK_PUBLIC);
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:235: cannot find symbol
[javac] symbol : class DiId
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final DiId computerDiId = _project.getNextDiId();
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:236: cannot find symbol
[javac] symbol : class Command
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final Command commandAddComputerToDiagram = _uml1SmCommandFactory.makeCommandAddNodeFromUmlSmElement(
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:239: cannot find symbol
[javac] symbol : class Command
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final Command commandCreateDiagram = _uml1SmCommandFactory.makeCommandCreateClassDiagram(newDiagramDiId,
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:244: cannot find symbol
[javac] symbol : class DiId
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final DiId employeeDiId = _project.getNextDiId();
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:245: cannot find symbol
[javac] symbol : class Command
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final Command commandAddEmployeeDiagram = _uml1SmCommandFactory.makeCommandAddNodeFromUmlSmElement(
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:249: cannot find symbol
[javac] symbol : class SmId
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final SmId associationComputerEmployeeSmId = _project.getNextSmId();
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:250: cannot find symbol
[javac] symbol : class Command
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final Command createAssociationBetwenComputerAndEmployee = _uml1SmCommandFactory.makeCommandSmCreateAssociation(
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:253: cannot find symbol
[javac] symbol : class Command
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final Command commandSetAssociationEndNotNavigable = _uml1SmCommandFactory.makeCommandSmSetAssociationEnd(
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:254: cannot find symbol
[javac] symbol : variable AggregationKindEnum
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] associationComputerEmployeeSmId, new Integer(1), Boolean.FALSE, AggregationKindEnum.AK_NONE);
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:264: cannot find symbol
[javac] symbol : class Command
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final Command commandAddEdgeToDiagram = _uml1SmCommandFactory.makeCommandAddEdgeFromUmlSmElement(
[javac] ^
[javac] /Users/jeff/Desktop/ApiDemo-1.1.0-src/src/com/gentleware/apidemo/ApiDemoPane.java:271: cannot find symbol
[javac] symbol : class DiId
[javac] location: class com.gentleware.apidemo.ApiDemoPane
[javac] final DiId newDiagramDiId = _project.getNextDiId();
[javac] ^
[javac] 100 errors

BUILD FAILED
/Users/jeff/Desktop/ApiDemo-1.1.0-src/ant/build.xml:196: Compile failed; see the compiler error output for details.
Guest
 

Re: Problem building ApiDemo

Postby Guest » Wed Jul 12, 2006 6:52 pm

Ok. Stupid question, stupid answer.

What you need to do is change the lib directory in the build.xml (in the ant directory). Then on Eclipse you can just launch the ant with "package" in the option field.

This will generate a file called "apidemo.jar" in the build/lib directory and you will just have to import this in Poseidon (you must add the key before).

Jeff
Guest
 

Re: Problem building ApiDemo

Postby romanc » Thu Jul 20, 2006 11:56 am

;-) I'd like your experiance to answer to yourself. I remember that default target was "compile" in the build.xml. I slightly modified it to get dist jar with a manifest.mf useful for installation.
Roman
romanc
 
Posts: 4
Joined: Thu Jun 22, 2006 11:53 am
Location: Ukraine

Re: Problem building ApiDemo

Postby Guest » Fri Jul 21, 2006 4:00 pm

I replied because I found the problem and I know that it could help someone. Having the question shows that the problem exists but what you really need is the answer.

I probably didn't look enough befre asking but in my case the problem came from the fact that I specifed the wrong lib dir :)

Regards
Guest
 


Return to Plug-Ins

Who is online

Users browsing this forum: No registered users and 1 guest

cron