Results 1 to 6 of 6

Thread: Refinery JavaSrc build errors

  1. #1
    geolycosa
    Guest

    Refinery JavaSrc build errors

    Hello,

    I have been trying to build the Collada Refinery in hopes of creating my own conditioners. Everything in the VC++ 8 project builds fine except the JavaSrc project. I get the following errors:

    ------ Build started: Project: JavaSrc, Configuration: Debug Win32 ------
    Performing Makefile project actions
    ../../src/refinery/AvailableConditionersList.java:25: <identifier> expected
    private Vector <ConditionerTemplate> conditionerBasesList;
    ^
    ../../src/refinery/AvailableConditionersList.java:28: '(' or '[' expected
    conditionerBasesList = new Vector<ConditionerTemplate>();
    ^
    ../../src/refinery/AvailableConditionersList.java:35: <identifier> expected
    public Iterator<ConditionerTemplate> iterator(){
    ^
    ../../src/refinery/AvailableConditionersList.java:109: ';' expected
    ^
    ../../src/refinery/AvailableMacrosList.java:31: <identifier> expected
    private Vector<MacroTemplate> availableMacrosList;
    ^
    ../../src/refinery/AvailableMacrosList.java:34: '(' or '[' expected
    availableMacrosList = new Vector<MacroTemplate>();
    ^
    ../../src/refinery/AvailableMacrosList.java:97: <identifier> expected
    public Iterator<MacroTemplate> iterator(){
    ^
    ../../src/refinery/AvailableMacrosList.java:120: ';' expected
    private class MacroFileNameFilter implements FilenameFilter{
    ^
    ../../src/refinery/CommandLineParser.java:33: <identifier> expected
    private Vector<String> inFiles;
    ^
    ../../src/refinery/CommandLineParser.java:34: <identifier> expected
    private Vector<String> outFiles;
    ^
    ../../src/refinery/CommandLineParser.java:41: '(' or '[' expected
    inFiles = new Vector<String>();
    ^
    ../../src/refinery/CommandLineParser.java:42: '(' or '[' expected
    outFiles = new Vector<String>();
    ^
    ../../src/refinery/CommandLineParser.java:219: <identifier> expected
    public Iterator<String> getInputFiles(){
    ^
    ../../src/refinery/CommandLineParser.java:249: ';' expected
    }
    ^
    ../../src/refinery/Couple.java:23: '{' expected
    public class Couple<T1, T2> {
    ^
    ../../src/refinery/Couple.java:40: '}' expected
    ^
    ../../src/refinery/ExecuteDocumentThread.java:25: illegal character: \64
    @Override
    ^
    ../../src/refinery/ExecuteDocumentThread.java:33: <identifier> expected

    ^
    ../../src/refinery/MacroTemplate.java:36: <identifier> expected
    private Vector<String> requiredMacros;
    ^
    ../../src/refinery/MacroTemplate.java:37: <identifier> expected
    private Vector<String> requiredLibs;
    ^
    ../../src/refinery/MacroTemplate.java:48: '(' or '[' expected
    requiredMacros = new Vector<String>();
    ^
    ../../src/refinery/MacroTemplate.java:49: '(' or '[' expected
    requiredLibs = new Vector<String>();
    ^
    ../../src/refinery/MacroTemplate.java:106: <identifier> expected
    public Iterator<String> getRequiredMacros(){
    ^
    ../../src/refinery/MacroTemplate.java:127: ';' expected
    }
    ^
    ../../src/refinery/Option.java:17: '{' expected
    public class Option<T1>{
    ^
    ../../src/refinery/Option.java:91: '}' expected
    ^
    ../../src/refinery/OptionList.java:21: <identifier> expected
    private Vector<Option> optionList;
    ^
    ../../src/refinery/OptionList.java:24: '(' or '[' expected
    optionList = new Vector<Option>();
    ^
    ../../src/refinery/OptionList.java:42: <identifier> expected
    public Iterator<Option> getOptions(){
    ^
    ../../src/refinery/OptionList.java:178: ';' expected
    }
    ^
    ../../src/refinery/Preferences.java:30: <identifier> expected
    private HashMap<String, Option> preferences;
    ^
    ../../src/refinery/Preferences.java:35: '(' or '[' expected
    preferences = new HashMap<String, Option>();
    ^
    ../../src/refinery/PreferencesWindow.java:37: <identifier> expected
    private HashMap<String, JTextField> texts;
    ^
    ../../src/refinery/PreferencesWindow.java:44: '(' or '[' expected
    texts = new HashMap<String, JTextField>();
    ^
    ../../src/refinery/PreferencesWindow.java:52: '(' or '[' expected
    texts = new HashMap<String, JTextField>();
    ^
    ../../src/refinery/Refinery.java:55: ';' expected
    public enum Mode {Normal, ExLib, ExMacro, ExFile, Help, HelpLib, ListLibs, Error};
    ^
    ../../src/refinery/Refinery.java:56: ';' expected
    public enum LogLevel {NORMAL, DEBUG};
    ^
    ../../src/refinery/XMLOutput.java:21: <identifier> expected
    private Stack<Entity> entities;
    ^
    ../../src/refinery/XMLOutput.java:28: '(' or '[' expected
    entities = new Stack<Entity>();
    ^
    ../../src/refinery/XMLOutput.java:75: <identifier> expected
    Vector<Couple<String, String>> attributes;
    ^
    ../../src/refinery/XMLOutput.java:87: '(' or '[' expected
    attributes = new Vector<Couple<String, String>>();
    ^
    ../../src/refinery/XMLOutput.java:93: '(' or '[' expected
    attributes.add(new Couple<String, String>(name, value));
    ^
    ../../src/refinery/XMLOutput.java:93: ')' expected
    attributes.add(new Couple<String, String>(name, value));
    ^
    ../../src/refinery/XMLOutput.java:110: not a statement
    Iterator<Couple<String, String>> attrIt = attributes.iterator();
    ^
    ../../src/refinery/XMLOutput.java:110: ';' expected
    Iterator<Couple<String, String>> attrIt = attributes.iterator();
    ^
    ../../src/refinery/XMLOutput.java:112: not a statement
    Couple<String, String> attr = attrIt.next();
    ^
    ../../src/refinery/XMLOutput.java:112: ';' expected
    Couple<String, String> attr = attrIt.next();
    ^
    ../../src/refinery/XMLOutput.java:135: not a statement
    Iterator<Couple<String, String>> attrIt = attributes.iterator();
    ^
    ../../src/refinery/XMLOutput.java:135: ';' expected
    Iterator<Couple<String, String>> attrIt = attributes.iterator();
    ^
    ../../src/refinery/XMLOutput.java:137: not a statement
    Couple<String, String> attr = attrIt.next();
    ^
    ../../src/refinery/XMLOutput.java:137: ';' expected
    Couple<String, String> attr = attrIt.next();
    ^
    ../../src/refinery/display/ConditionerDisplay.java:54: <identifier> expected
    private Vector<Ellipse2D.Double> inputAnchorDisplays;
    ^
    ../../src/refinery/display/ConditionerDisplay.java:55: <identifier> expected
    private Vector<Ellipse2D.Double> outputAnchorDisplays;
    ^
    ../../src/refinery/display/ConditionerDisplay.java:82: '(' or '[' expected
    inputAnchorDisplays = new Vector<Ellipse2D.Double>();
    ^
    ../../src/refinery/display/ConditionerDisplay.java:83: '(' or '[' expected
    outputAnchorDisplays = new Vector<Ellipse2D.Double>();//new Ellipse2D.Double(30-ANCHORWIDTH/2, height-10-ANCHORHEIGHT/2, ANCHORWIDTH,ANCHORHEIGHT);
    ^
    ../../src/refinery/display/ConditionerDisplay.java:359: illegal character: \64
    @Override
    ^
    ../../src/refinery/display/ConditionerDisplay.java:368: illegal character: \64
    @Override
    ^
    ../../src/refinery/display/ConditionerDisplay.java:386: illegal character: \64
    @Override
    ^
    ../../src/refinery/display/ConditionerDisplay.java:393: <identifier> expected
    ^
    ../../src/refinery/display/ConditionerPropertyWindow.java:45: <identifier> expected
    Vector<Saveable> optionsToSave;
    ^
    ../../src/refinery/display/ConditionerPropertyWindow.java:51: '(' or '[' expected
    optionsToSave = new Vector<Saveable>();
    ^
    ../../src/refinery/display/Display.java:37: ';' expected
    public enum RefererType {IO, COND, MACRO, LINK}; // Possible types of referer: IOBox, Conditioner, Macro or Link
    ^
    ../../src/refinery/display/DisplayArea.java:73: <identifier> expected
    Vector<Display> selectedDisplay; // List of currentlty selected Displays
    ^
    ../../src/refinery/display/DisplayArea.java:82: <identifier> expected
    ArrayList<Display> displayList; // List of Displays. They are displayed in the order they are in this list
    ^
    ../../src/refinery/display/DisplayArea.java:99: '(' or '[' expected
    displayList = new ArrayList<Display>();
    ^
    ../../src/refinery/display/DisplayArea.java:100: '(' or '[' expected
    selectedDisplay = new Vector<Display>();
    ^
    ../../src/refinery/display/DisplayArea.java:209: <identifier> expected
    public Iterator<Display> getSelectionIterator(){
    ^
    ../../src/refinery/display/DisplayArea.java:741: illegal character: \64
    @Override
    ^
    ../../src/refinery/display/DisplayArea.java:786: ';' expected
    private abstract class BoxActionListener implements ActionListener{
    ^
    ../../src/refinery/display/DisplayAreaNonEditable.java:48: <identifier> expected
    ArrayList<Display> displayList; // List of Displays. They are displayed in the order they are in this list
    ^
    ../../src/refinery/display/DisplayAreaNonEditable.java:57: '(' or '[' expected
    displayList = new ArrayList<Display>();
    ^
    ../../src/refinery/display/DisplayAreaNonEditable.java:112: '(' or '[' expected
    displayList = new ArrayList<Display>();
    ^
    ../../src/refinery/display/IOBoxDisplay.java:187: illegal character: \64
    @Override
    ^
    ../../src/refinery/display/IOBoxDisplay.java:192: illegal character: \64
    @Override
    ^
    ../../src/refinery/display/IOBoxDisplay.java:289: illegal character: \64
    @Override
    ^
    ../../src/refinery/display/IOBoxDisplay.java:300: illegal character: \64
    @Override
    ^
    ../../src/refinery/display/IOBoxDisplay.java:379: <identifier> expected
    }
    ^
    ../../src/refinery/display/LinkDisplay.java:53: illegal character: \64
    @Override
    ^
    ../../src/refinery/display/LinkDisplay.java:62: illegal character: \64
    @Override
    ^
    ../../src/refinery/display/LinkDisplay.java:143: illegal character: \64
    @Override
    ^
    ../../src/refinery/display/LinkDisplay.java:153: illegal character: \64
    @Override
    ^
    ../../src/refinery/display/LinkDisplay.java:169: illegal character: \64
    @Override
    ^
    ../../src/refinery/display/LinkDisplay.java:175: illegal character: \64
    @Override
    ^
    ../../src/refinery/display/LinkDisplay.java:180: <identifier> expected

    ^
    ../../src/refinery/display/MainGUI.java:384: not a statement
    HashMap<String, JComboBox> categories = new HashMap<String, JComboBox>();
    ^
    ../../src/refinery/display/MainGUI.java:384: ';' expected
    HashMap<String, JComboBox> categories = new HashMap<String, JComboBox>();
    ^
    ../../src/refinery/display/PipelineMacroSimpleDisplay.java:59: <identifier> expected
    private Vector<Ellipse2D.Double> inputAnchorDisplays;
    ^
    ../../src/refinery/display/PipelineMacroSimpleDisplay.java:60: <identifier> expected
    private Vector<Ellipse2D.Double> outputAnchorDisplays;
    ^
    ../../src/refinery/display/PipelineMacroSimpleDisplay.java:85: '(' or '[' expected
    inputAnchorDisplays = new Vector<Ellipse2D.Double>();
    ^
    ../../src/refinery/display/PipelineMacroSimpleDisplay.java:92: '(' or '[' expected
    outputAnchorDisplays = new Vector<Ellipse2D.Double>();
    ^
    ../../src/refinery/display/PipelineMacroSimpleDisplay.java:140: illegal character: \64
    @Override
    ^
    ../../src/refinery/display/PipelineMacroSimpleDisplay.java:297: illegal character: \64
    @Override
    ^
    ../../src/refinery/display/PipelineMacroSimpleDisplay.java:307: illegal character: \64
    @Override
    ^
    ../../src/refinery/display/PipelineMacroSimpleDisplay.java:312: illegal character: \64
    @Override
    ^
    ../../src/refinery/display/PipelineMacroSimpleDisplay.java:329: illegal character: \64
    @Override
    ^
    ../../src/refinery/display/PipelineMacroSimpleDisplay.java:336: <identifier> expected
    ^
    ../../src/refinery/document/Anchor.java:27: ';' expected
    public enum AnchorType {ANCHORIN, ANCHOROUT};
    ^
    ../../src/refinery/document/Anchor.java:28: ';' expected
    public enum RefererType {IO, COND, MACRO};
    ^
    ../../src/refinery/document/AnchorMacro.java:33: illegal character: \64
    @Override
    ^
    ../../src/refinery/document/AnchorMacro.java:50: <identifier> expected
    ^
    100 errors
    java.io.FileNotFoundException: ..\..\src\refinery\manifest.txt (The system cannot find the file specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.jav a:106)
    at java.io.FileInputStream.<init>(FileInputStream.jav a:66)
    at sun.tools.jar.Main.run(Main.java:123)
    at sun.tools.jar.Main.main(Main.java:904)
    Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"
    Build log was saved at "file://c:\prj\tank\trunk\collada\COLLADA_Refinery\project s\VC++8\Debug\BuildLog.htm"
    JavaSrc - 1 error(s), 0 warning(s)
    If someone could help me out with this, I would really appreciate it. Thanks!

  2. #2
    Senior Member
    Join Date
    Jan 2006
    Location
    Foster City, CA
    Posts
    540
    Did you use the installer? If not, you need an env variable JDK_HOME that points to your JDK home dir. Mine is set to "C:\Program Files\Java\jdk1.6.0_01". Let me know if that helps.

  3. #3
    geolycosa
    Guest
    The JDK_HOME variable has been set correctly by the installer.

  4. #4
    Senior Member
    Join Date
    Jan 2006
    Location
    Foster City, CA
    Posts
    540
    These errors look pretty fundamental... what version of Java do you have?

  5. #5
    geolycosa
    Guest
    I have jdk1.6.0_03 installed.

    Is it possible to build a new conditioner without rebuilding the JavaSrc project?

  6. #6
    Senior Member
    Join Date
    Jan 2006
    Location
    Foster City, CA
    Posts
    540
    It looks like it's complaining every time it encounters the <> characters used for generics. I could be way off but I think your setup is wrong, like you're using an old java compiler or something. But you say you're using jdk 1.6, so I'm not sure what to think. If you want additional help tracking this down, maybe we could do it on irc or over the phone. We should be able to quickly get to the bottom of it that way.
    Is it possible to build a new conditioner without rebuilding the JavaSrc project?
    The Refinery loads conditioners at run time, so if you add a new conditioner to conditioners.vcproj and rebuild, it should show up when you run Refinery.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •