getProject().setBasedir( "/home/josh/code/omero/components/common/");
getProject().setBasedir(commonDir.getPath());
            public T()            {                DefaultLogger logger = new DefaultLogger();                logger.setMessageOutputLevel(Project.MSG_DEBUG);                logger.setErrorPrintStream(System.err);                logger.setOutputPrintStream(System.out);                setProject(new Project());                getProject().setBasedir(                        "/home/josh/code/omero/components/common/");                getProject().addBuildListener(logger);                getProject().init();                setTaskName("api");                setTaskType("api");                setOwningTarget(new Target());            }