Re: ComponentFilter compile errors

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Thu Aug 18 2005 - 08:59:18 EDT

  • Next message: David Teran: "RE: hot code replacement"

    Moin Dov,

    yes, it's a Java 1.5 thing. The fix is allready in the cvs.

    Am 18.08.2005 um 14:50 schrieb Dov Rosenberg:

    > I got the latest from CVS this morning and tried to build. I got an
    > error in package org.objectstyle.wolips.ui.javaelementfilters where
    > the ANT compile complained about the..verride. Eclipse didn’t flag
    > it as an error, but Ant javac did. Is that a Java 1.5 thing? I
    > commented it out on my local copy and it worked.
    >
    > 2 other issues I had:
    > The project did not have a reference to the ant.jar. I had to add
    > one from my external ant installation
    > The ANT build that uses anakia did not have a reference to the
    > jdom.jar – I had to add that into the ant classpath in the dialog
    > window

    That is intended. Install Ant whereever you want. Ant/anakia works
    fine from the command line. We don't need it in Eclipse.

    Ulrich
    >
    >
    >
    > public class ComponentFilter extends ViewerFilter { public
    > ComponentFilter() { super(); } ..verride public
    > boolean select(Viewer viewer, Object parentElement, Object element)
    > { if(element instanceof IFolder) { IFolder folder
    > = (IFolder)element; String folderExtension =
    > folder.getFileExtension(); if(folderExtension != null &&
    > "wo".equals(folderExtension)) { return
    > false; } } return true; }
    > --
    > Dov Rosenberg
    > Conviveon/Inquira
    > Knowledge Management Experts
    > http://www.conviveon.com
    > http://www.inquira.com
    >



    This archive was generated by hypermail 2.0.0 : Thu Aug 18 2005 - 08:59:05 EDT