RE: [Concern-users] Installation failures
Brought to you by:
hengels,
leonchiver
|
From: Holger E. <he...@me...> - 2004-05-10 13:15:26
|
Hm,
seems like there's a target dependency missing. dist should depend on build!
Try:
cd client
ant build dist
afterwards, the j2ee-demo build should work, too (hopefully).
Holger
Quoting Raoul Zon <rao...@to...>:
> Holger,
>
> Your suggestion does seem to work. I get two succesfull builds and the
> search on *Local.java gave exactly the same results as you wrote.
>
> Building model and modeller succeeded as well.
>
> Now only client and j2ee-demo fail:
> Client can't find the file concern-client.jar as it seems make a copy of
> it somewhere.
> j2ee-demo gives 70 compilation errors concerning, among others, the
> classes Work and DefaultWorkList, which it can't resolve.
>
> Raoul Zon
>
> -----Oorspronkelijk bericht-----
> Van: Holger Engels [mailto:he...@me...]
> Verzonden: maandag 10 mei 2004 14:34
> Aan: Raoul Zon
> Onderwerp: Re: [Concern-users] Installation failures
>
>
> try it like this:
>
> cd j2ee
> ant xdoclet
> ant dist
>
> some of the local interfaces should be generated by xdoclet:
>
> find -name *Local.java
> ./src/java/org/concern/j2ee/ActionLocal.java
> ./src/java/org/concern/j2ee/ActivityLocal.java
> ./src/java/org/concern/j2ee/ConditionLocal.java
> ./src/java/org/concern/j2ee/ExitLocal.java
> ./src/java/org/concern/j2ee/ControllerLocal.java
> ./src/java/org/concern/j2ee/LoaderLocal.java
> ./build/src/java/org/concern/j2ee/LogLocal.java
> ./build/src/java/org/concern/j2ee/ArchiveLocal.java
> ./build/src/java/org/concern/j2ee/TimerLocal.java
> ./build/src/java/org/concern/j2ee/EnlistmentLocal.java
> ./build/src/java/org/concern/j2ee/SchedulerLocal.java
> ./build/src/java/org/concern/j2ee/SubjectLocal.java
>
> can you confirm this? If not, come back to me,
>
> regards,
>
> Holger
>
> Quoting Raoul Zon <rao...@to...>:
>
> > Hi,
> >
> > I've downloaded the concern-all-1.1.tgz and followed the procedure on
> > the installation page.
> > I've tried installing on both windows and linux, but I keep getting
> > build failures when compiling.
> > Model compiles oke.
> >
> > j2ee gives loads of errors, here's a bit of the list of errors:
> > [javac]
> > C:devtoolsconcern-all-1.1j2eesrcjavaorgconcernj2eeControlle
> > rBean.java:346: cannot resolve symbol
> > [javac] symbol : class EnlistmentLocal
> > [javac] location: class org.concern.j2ee.ControllerBean
> > [javac] EnlistmentLocal enlistment =
> > enlistmentHome.findBySu
> > bjectAndActivity(subject.getId(), activityName);
> > [javac] ^
> > [javac]
> > C:devtoolsconcern-all-1.1j2eesrcjavaorgconcernj2eeControlle
> > rBean.java:422: cannot resolve symbol
> > [javac] symbol : class SubjectLocal
> > [javac] location: class org.concern.j2ee.ControllerBean
> > [javac] SubjectLocal subject =
> > subjectHome.findByUserValue(userV
> > alue);
> > [javac] ^
> > [javac]
> > C:devtoolsconcern-all-1.1j2eesrcjavaorgconcernj2eeControlle
> > rBean.java:423: incompatible types
> > [javac] found : void
> > [javac] required: boolean
> > [javac] while (process(subject));
> > [javac] ^
> > [javac]
> > C:devtoolsconcern-all-1.1j2eesrcjavaorgconcernj2eeControlle
> > rBean.java:631: cannot resolve symbol
> > [javac] symbol : class EnlistmentLocal
> > [javac] location: class org.concern.j2ee.ControllerBean
> > [javac] EnlistmentLocal enlistment =
> > getEnlistment(subject, acti
> > vity);
> > [javac] ^
> > [javac]
> > C:devtoolsconcern-all-1.1j2eesrcjavaorgconcernj2eeControlle
> > rBean.java:685: cannot resolve symbol
> > [javac] symbol : class EnlistmentLocal
> > [javac] location: class org.concern.j2ee.ControllerBean
> > [javac] EnlistmentLocal enlistment =
> > getEnlistment(subject, acti
> > vity);
> > [javac] ^
> > [javac]
> > C:devtoolsconcern-all-1.1j2eesrcjavaorgconcernj2eeDelegate.
> > java:63: cannot resolve symbol
> > [javac] symbol : class ControllerHome
> > [javac] location: class org.concern.j2ee.Delegate
> > [javac] controllerHome =
> > (ControllerHome)initialContext.lookup(p
> > rocessName + "/Controller");
> > [javac] ^
> > [javac]
> > C:devtoolsconcern-all-1.1j2eesrcjavaorgconcernj2eejbossTri
> > gger.java:88: cannot resolve symbol
> > [javac] symbol : class SchedulerLocal
> > [javac] location: class org.concern.j2ee.jboss.Trigger
> > [javac] Invocation invocation = new Invocation(object,
>
> > Scheduler
> > Local.class.getMethod("trigger", null), null, null, null, null);
> > [javac]
> ^
> > [javac]
> > C:devtoolsconcern-all-1.1j2eesrcjavaorgconcernj2eeScheduler
> > Bean.java:70: cannot resolve symbol
> > [javac] symbol : class TimerLocalHome
> > [javac] location: class org.concern.j2ee.SchedulerBean
> > [javac] timerHome = (TimerLocalHome)new
> > InitialContext().lookup(
> > "java:" + processName + "/Timer");
> > [javac] ^
> > [javac]
> > C:devtoolsconcern-all-1.1j2eesrcjavaorgconcernj2eeScheduler
> > Bean.java:93: cannot resolve symbol
> > [javac] symbol : class TimerLocal
> > [javac] location: class org.concern.j2ee.SchedulerBean
> > [javac] TimerLocal timerLocal =
> > (TimerLocal)iterator.next();
> >
> > [javac] ^
> > [javac]
> > C:devtoolsconcern-all-1.1j2eesrcjavaorgconcernj2eeScheduler
> > Bean.java:93: cannot resolve symbol
> > [javac] symbol : class TimerLocal
> > [javac] location: class org.concern.j2ee.SchedulerBean
> > [javac] TimerLocal timerLocal =
> > (TimerLocal)iterator.next();
> >
> > [javac] ^
> > [javac]
> > C:devtoolsconcern-all-1.1j2eesrcjavaorgconcernj2eeScheduler
> > Bean.java:118: cannot resolve symbol
> > [javac] symbol : class TimerLocal
> > [javac] location: class org.concern.j2ee.SchedulerBean
> > [javac] TimerLocal timer =
> > (TimerLocal)iterator.next();
> > [javac] ^
> > [javac]
> > C:devtoolsconcern-all-1.1j2eesrcjavaorgconcernj2eeScheduler
> > Bean.java:118: cannot resolve symbol
> > [javac] symbol : class TimerLocal
> > [javac] location: class org.concern.j2ee.SchedulerBean
> > [javac] TimerLocal timer =
> > (TimerLocal)iterator.next();
> > [javac] ^
> > [javac] 68 errors
> >
> > Client keeps giving errors on the missing Scheduler class, in total 12
> > errors.
> >
> > This keeps going on. I've checked out the project with CVS in Eclipse
> > IDE and tried to build that, again with errors. Those errors are
> however
> > a bit different and seem to point to missing methods within
> > org.concern.j2ee.AbstractActivity
> >
> > I guess I'm missing some critical point in the installation procedure,
> > but can't seem to figure out what.
> >
> > Can anyone point me to a solution or is there a more extensive
> > installation guide for con:cern.
> >
> > Thanks a lot in advance,
> >
> > Raoul Zon
> > Java Software Developer
> > Topicus Information Architects
> >
>
>
> Holger Engels
> (Dipl Inf Med)
>
> --
> Consultant, Architect, Developer
> Mobile: +49 176 20119752
>
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
>
>
Holger Engels
(Dipl Inf Med)
--
Consultant, Architect, Developer
Mobile: +49 176 20119752
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
|