Hi Emmanuel,

I discovered this as well, and a lot of the errors disappeared, but it's
still not working.

Note that I never use eclipse, I was just trying to solve Tyronne's problem.

I have 7 projects in my workspace (core, example, filter-ssl,...)

core seems to be build ok (with some warnings), but know eclipse complains
about:

Project 'filter-ssl' is missing required Java project: 'mina-core'
Project 'integration-jmx' is missing required Java project: 'mina-core'
...
Trying to solve that for more than half an hour, but I couldn't find how.

Maybe I gotta read a bit more on how eclipse works ?
For now I am glad I have IDEA.

Maarten

On 9/11/07, Emmanuel Lecharny <[EMAIL PROTECTED]> wrote:
>
> Hi Tyronne,
>
> you didn't declared a M2_REPO classpath variable pointing to
> ~/.m2/repository in eclipse. Doing it will immediatly solve your
> compilation problems. (Windows->Preference -> Java -> Build Path ->
> ClassPath
>
> On 9/11/07, Tyronne Wickramaratne <[EMAIL PROTECTED]> wrote:
> > hi,
> > thanks for the speedy response. well, yes.. i have done that and import
> it
> > into eclipse. but the issue is, eclipse is screaming on some build
> errors :
> >
> >
> > Unbound classpath variable:
> > 'M2_REPO/org/springframework/spring-beans/2.0.6/spring-beans-2.0.6.jar'
> in
> > project 'mina-example'        mina-example    Build path
> > Unbound classpath variable:
> > 'M2_REPO/org/springframework/spring-beans/2.0.6/spring-beans-2.0.6.jar'
> in
> > project
> 'mina-integration-spring'        mina-integration-spring    Build
> > path
> > Unbound classpath variable:
> > 'M2_REPO/org/springframework/spring-context/2.0.6/spring-
> context-2.0.6.jar'
> > in project 'mina-example'        mina-example    Build path
> > Unbound classpath variable:
> > 'M2_REPO/org/springframework/spring-core/2.0.6/spring-core-2.0.6.jar' in
> > project 'mina-example'        mina-example    Build path
> > Unbound classpath variable:
> > 'M2_REPO/org/springframework/spring-core/2.0.6/spring-core-2.0.6.jar' in
> > project
> 'mina-integration-spring'        mina-integration-spring    Build
> > path
> > Unbound classpath variable:
> > 'M2_REPO/org/springframework/spring-support/2.0.6/spring-
> support-2.0.6.jar'
> > in project 'mina-example'        mina-example    Build path
> > Unbound classpath variable: 'M2_REPO/oro/oro/2.0.8/oro-2.0.8.jar' in
> project
> > 'mina-example'        mina-example    Build path
> > Unbound classpath variable: 'M2_REPO/oro/oro/2.0.8/oro-2.0.8.jar' in
> project
> > 'mina-integration-spring'        mina-integration-spring    Build path
> >
> >
> > do you want me to ignore those ??
> >
> > Thanks
> > Tyronne Wickramarathne
> >
> > On 9/11/07, Maarten Bosteels <[EMAIL PROTECTED]> wrote:
> > >
> > > Are you trying to build mina or are you configuring a project that
> uses
> > > mina
> > > ?
> > >
> > > For building mina, see http://mina.apache.org/developer-guide.html
> > >
> > > $1 svn co https://svn.apache.org/repos/asf/mina/branches/1.0/ mina
> > > $2 cd mina
> > > $3 mvn install           # Build packages (JARs) for the core API and
> > > other extensions and install them to the local Maven repository.
> > > $4 mvn site              # Generate reports (JavaDoc and JXR)
> > > $5 mvn assembly:assembly # Generate a tarball
> > > $6 mvn eclipse:eclipse   # Generate Eclipse project files if you want
> > >
> > > You can skip lines 3, 4 and 5.
> > >
> > > I haven't tried it myself since I am an Intellij IDEA lover (so I use
> mvn
> > > idea:idea instead).
> > > Let us know if it does not work.
> > >
> > > Maarten
> > >
> > > On 9/11/07, bershath <[EMAIL PROTECTED]> wrote:
> > > >
> > > >
> > > > Guys,
> > > >
> > > > i'm using eclipse Version: 3.2.1 on FC7. i have downloaded and
> > > configured
> > > > Mina-1-1 on eclipse, but it's screaming for a dependency :
> > > >
> > > >
> > > > >>The project was not built since its build path is incomplete.
> Cannot
> > > > find
> > > > the class file for com.jcraft.jzlib.ZStream. Fix the build path then
> try
> > > > building this project           mina-1-1
> > > > >>The type com.jcraft.jzlib.ZStream cannot be resolved. It is
> indirectly
> > > > referenced from required .class files
> > > >
> mina-1-1/filter-compression/src/main/java/org/apache/mina/filter/support
> > > > Zlib.java       line 0
> > > >
> > > > where can i get the missing Jars ?
> > > > am i on the right track ?
> > > > what's the best approach to load it on eclipse ?
> > > >
> > > > btw, i did perform, mvn clean followed by install and added the
> > > generated
> > > > libraries to the build path along with the sping library. great if
> > > someone
> > > > could help me out.
> > > >
> > > > thanks
> > > > Tyronne Wickramarathne
> > > >
> > > > --
> > > > View this message in context:
> > > >
> > >
> http://www.nabble.com/Configuring-Mina-1-1-on-Eclipse%2C-Dependecy-Issue-tf4420600s16868.html#a12608947
> > > > Sent from the Apache MINA Support Forum mailing list archive at
> > > Nabble.com
> > > > .
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > /usr/local/tyronne
> > ändern ist gewesen geändert worden
> >
>
>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>

Reply via email to