You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by mclovis <mc...@mindbridge.com> on 2006/07/07 20:07:27 UTC

building service mix using IDE(intellij)

I wanted to use Intellij to build servicemix from svn checkout in order to
use maven ant tasks for deployment. 

1. First problem mvn idea:idea creates project files...
    but the jar file in maven repository jaxb-api-2.0.jar does not contain
  javax.xml.bind.annotation.AccessType as specified in the code. Did a
recursive search of the repository and this class does not seem to be
included 
anywhere, So when I mvn install from the command line not quite sure how
this is working.

2. Would like to set up an environment to run ServiceMix (and later
Geronimo) through IDE and use servicemix-ant-task to do the testing..
Any help or suggestions would be appreciated. Perhaps Bruce would know.

Thanks in advance.


-- 
View this message in context: http://www.nabble.com/building-service-mix-using-IDE%28intellij%29-tf1907864.html#a5222044
Sent from the ServiceMix - User forum at Nabble.com.


Re: building service mix using IDE(intellij)

Posted by Philip Dodds <ph...@gmail.com>.
Yes - can you open a JIRA for it :)

Thanks

P

On 7/10/06, Marc Tremblay <ma...@pansapien.com> wrote:
>
> Ok, servicemix-sca works now in Eclipse.
>
> One thing I didn't mention earlier was that in order to get trunk to build
> using Maven 2, I had to add
>
>     <dependency>
>       <groupId>incubator-activemq</groupId>
>       <artifactId>activeio-core</artifactId>
>     </dependency>
>
> to servicemix-core/pom.xml in project/dependencies, and
>
>         <dependency>
>             <groupId>com.sun.xml.bind</groupId>
>             <artifactId>jaxb-impl</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>               <exclusion>
>                 <groupId>javax.xml</groupId>
>                 <artifactId>jsr173</artifactId>
>               </exclusion>
>               <exclusion>
>                 <groupId>javax.jws</groupId>
>                 <artifactId>jsr181-api</artifactId>
>               </exclusion>
>               <exclusion>
>                 <groupId>javax.activation</groupId>
>                 <artifactId>activation</artifactId>
>               </exclusion>
>             </exclusions>
>           </dependency>
>
> to servicemix-wsn2005/pom.xml in the plugin dependencies for the
> maven-antrun-plugin.
>
> Should I open a JIRA for this or did I miss something somewhere about the
> build?
>
> M.
>
> > -----Original Message-----
> > From: Philip Dodds [mailto:philip.dodds@gmail.com]
> > Sent: July 9, 2006 3:01 PM
> > To: servicemix-users@geronimo.apache.org
> > Subject: Re: building service mix using IDE(intellij)
> >
> > The problem appears to be that AccessorType has been changed
> > to javax.xml.bind.anotation.XmlAccessType (
> > http://forums.java.net/jive/thread.jspa?forumID=46&threadID=14
> > 599&messageID=102640#102640)
> > - once this change is in place the code does compile (checked
> > into trunk) - however there are still problems with the
> > testcases I haven't look at.
> >
> > Cheers
> >
> > P
> >
> >
> > On 7/9/06, Philip Dodds <ph...@gmail.com> wrote:
> > >
> > > Just a quick question - is this in the servicemix-sca component?
> > >
> > > P
> > >
> > >
> > > On 7/9/06, Marc Tremblay <marc@pansapien.com > wrote:
> > > >
> > > > For what it's worth, I've been experiencing similar issues with
> > > > Eclipse.  Unfortunately the workspace where I have the
> > issues is at
> > > > work, so I won't be able to provide further information
> > until tomorrow.
> > > >
> > > > M.
> > > >
> > > > On 9-Jul-06, at 1:49 PM, mclovis wrote:
> > > >
> > > > >
> > > > > hmm. I will post a message there.. But what I am saying ALSO is
> > > > > that even if I set up the classpaths manually ,
> > creating symbolic
> > > > > llink to ~/.m2 so that I can list the jars in the
> > repository, the
> > > > > class in question is not there.
> > > > > That means , I believe the fault is not in the mvn idea: idea
> > > > > command but elsewhere. That is why I said I do not
> > understand how
> > > > > the original command is working, it is not compiling(?) is mvn
> > > > > dowloading finished servicmix project from project sites????
> > > > >
> > > > > --
> > > > > View this message in context: http://www.nabble.com/building-
> > > > > service-mix-using-IDE%28intellij%29-tf1907864.html#a5242014
> > > > > Sent from the ServiceMix - User forum at Nabble.com.
> > > >
> > > >
> > >
> >
>
>

Re: building service mix using IDE(intellij)

Posted by Terry Cox <te...@meta-concepts.com>.
> The problem appears to be that AccessorType has been changed to
> javax.xml.bind.anotation.XmlAccessType

Yes, it appears that one or two Java 6 dependencies have crept in. There 
is also a Spring 2.0m5 dependency that is causing some minor issues.

Terry

Re: building service mix using IDE(intellij)

Posted by mclovis <mc...@mindbridge.com>.
Thanks Phillip,
   I didn't answer you as fast as I normally would because I was updating
through svn and saw that the class had been changed. Also noted that there
was a lot of failures in the tests. But maybe can setup an Integrated
environment now. Leaving this thread up in hope that if you or Bruce could
comment on any suggestions, best practices, hints or hopes on setting up
this type of coding practice with an eye on testing first. Hoping to get to
the point of writing pojo objects and testing as we go. Don't know if this
is a pipe dream. Trying to grasp all the ideas.
Thanks again for all your perserverence.
-- 
View this message in context: http://www.nabble.com/building-service-mix-using-IDE%28intellij%29-tf1907864.html#a5243334
Sent from the ServiceMix - User forum at Nabble.com.


RE: building service mix using IDE(intellij)

Posted by Marc Tremblay <ma...@pansapien.com>.
Ok, servicemix-sca works now in Eclipse.

One thing I didn't mention earlier was that in order to get trunk to build
using Maven 2, I had to add

    <dependency>
      <groupId>incubator-activemq</groupId>
      <artifactId>activeio-core</artifactId>
    </dependency> 

to servicemix-core/pom.xml in project/dependencies, and

        <dependency>
            <groupId>com.sun.xml.bind</groupId>
            <artifactId>jaxb-impl</artifactId>
            <version>2.0.1</version>
            <exclusions>
              <exclusion>
                <groupId>javax.xml</groupId>
                <artifactId>jsr173</artifactId>
              </exclusion>
              <exclusion>
                <groupId>javax.jws</groupId>
                <artifactId>jsr181-api</artifactId>
              </exclusion>
              <exclusion>
                <groupId>javax.activation</groupId>
                <artifactId>activation</artifactId>
              </exclusion>
            </exclusions>
          </dependency>

to servicemix-wsn2005/pom.xml in the plugin dependencies for the
maven-antrun-plugin.

Should I open a JIRA for this or did I miss something somewhere about the
build?

M.

> -----Original Message-----
> From: Philip Dodds [mailto:philip.dodds@gmail.com] 
> Sent: July 9, 2006 3:01 PM
> To: servicemix-users@geronimo.apache.org
> Subject: Re: building service mix using IDE(intellij)
> 
> The problem appears to be that AccessorType has been changed 
> to javax.xml.bind.anotation.XmlAccessType (
> http://forums.java.net/jive/thread.jspa?forumID=46&threadID=14
> 599&messageID=102640#102640)
> - once this change is in place the code does compile (checked 
> into trunk) - however there are still problems with the 
> testcases I haven't look at.
> 
> Cheers
> 
> P
> 
> 
> On 7/9/06, Philip Dodds <ph...@gmail.com> wrote:
> >
> > Just a quick question - is this in the servicemix-sca component?
> >
> > P
> >
> >
> > On 7/9/06, Marc Tremblay <marc@pansapien.com > wrote:
> > >
> > > For what it's worth, I've been experiencing similar issues with 
> > > Eclipse.  Unfortunately the workspace where I have the 
> issues is at 
> > > work, so I won't be able to provide further information 
> until tomorrow.
> > >
> > > M.
> > >
> > > On 9-Jul-06, at 1:49 PM, mclovis wrote:
> > >
> > > >
> > > > hmm. I will post a message there.. But what I am saying ALSO is 
> > > > that even if I set up the classpaths manually , 
> creating symbolic 
> > > > llink to ~/.m2 so that I can list the jars in the 
> repository, the 
> > > > class in question is not there.
> > > > That means , I believe the fault is not in the mvn idea: idea 
> > > > command but elsewhere. That is why I said I do not 
> understand how 
> > > > the original command is working, it is not compiling(?) is mvn 
> > > > dowloading finished servicmix project from project sites????
> > > >
> > > > --
> > > > View this message in context: http://www.nabble.com/building-
> > > > service-mix-using-IDE%28intellij%29-tf1907864.html#a5242014
> > > > Sent from the ServiceMix - User forum at Nabble.com.
> > >
> > >
> >
> 


Re: building service mix using IDE(intellij)

Posted by Philip Dodds <ph...@gmail.com>.
The problem appears to be that AccessorType has been changed to
javax.xml.bind.anotation.XmlAccessType (
http://forums.java.net/jive/thread.jspa?forumID=46&threadID=14599&messageID=102640#102640)
- once this change is in place the code does compile (checked into trunk) -
however there are still problems with the testcases I haven't look at.

Cheers

P


On 7/9/06, Philip Dodds <ph...@gmail.com> wrote:
>
> Just a quick question - is this in the servicemix-sca component?
>
> P
>
>
> On 7/9/06, Marc Tremblay <marc@pansapien.com > wrote:
> >
> > For what it's worth, I've been experiencing similar issues with
> > Eclipse.  Unfortunately the workspace where I have the issues is at
> > work, so I won't be able to provide further information until tomorrow.
> >
> > M.
> >
> > On 9-Jul-06, at 1:49 PM, mclovis wrote:
> >
> > >
> > > hmm. I will post a message there.. But what I am saying ALSO is
> > > that even if
> > > I set up the classpaths manually , creating symbolic llink to ~/.m2
> > > so that
> > > I can list the jars in the repository, the class in question is not
> > > there.
> > > That means , I believe the fault is not in the mvn idea: idea
> > > command but
> > > elsewhere. That is why I said I do not understand how the original
> > > command
> > > is working, it is not compiling(?) is mvn dowloading finished
> > > servicmix
> > > project from project sites????
> > >
> > > --
> > > View this message in context: http://www.nabble.com/building-
> > > service-mix-using-IDE%28intellij%29-tf1907864.html#a5242014
> > > Sent from the ServiceMix - User forum at Nabble.com.
> >
> >
>

Re: building service mix using IDE(intellij)

Posted by Philip Dodds <ph...@gmail.com>.
Just a quick question - is this in the servicemix-sca component?

P

On 7/9/06, Marc Tremblay <ma...@pansapien.com> wrote:
>
> For what it's worth, I've been experiencing similar issues with
> Eclipse.  Unfortunately the workspace where I have the issues is at
> work, so I won't be able to provide further information until tomorrow.
>
> M.
>
> On 9-Jul-06, at 1:49 PM, mclovis wrote:
>
> >
> > hmm. I will post a message there.. But what I am saying ALSO is
> > that even if
> > I set up the classpaths manually , creating symbolic llink to ~/.m2
> > so that
> > I can list the jars in the repository, the class in question is not
> > there.
> > That means , I believe the fault is not in the mvn idea: idea
> > command but
> > elsewhere. That is why I said I do not understand how the original
> > command
> > is working, it is not compiling(?) is mvn dowloading finished
> > servicmix
> > project from project sites????
> >
> > --
> > View this message in context: http://www.nabble.com/building-
> > service-mix-using-IDE%28intellij%29-tf1907864.html#a5242014
> > Sent from the ServiceMix - User forum at Nabble.com.
>
>

Re: building service mix using IDE(intellij)

Posted by Marc Tremblay <ma...@pansapien.com>.
For what it's worth, I've been experiencing similar issues with  
Eclipse.  Unfortunately the workspace where I have the issues is at  
work, so I won't be able to provide further information until tomorrow.

M.

On 9-Jul-06, at 1:49 PM, mclovis wrote:

>
> hmm. I will post a message there.. But what I am saying ALSO is  
> that even if
> I set up the classpaths manually , creating symbolic llink to ~/.m2  
> so that
> I can list the jars in the repository, the class in question is not  
> there.
> That means , I believe the fault is not in the mvn idea: idea  
> command but
> elsewhere. That is why I said I do not understand how the original  
> command
> is working, it is not compiling(?) is mvn dowloading finished  
> servicmix
> project from project sites????
>
> -- 
> View this message in context: http://www.nabble.com/building- 
> service-mix-using-IDE%28intellij%29-tf1907864.html#a5242014
> Sent from the ServiceMix - User forum at Nabble.com.


Re: building service mix using IDE(intellij)

Posted by mclovis <mc...@mindbridge.com>.
hmm. I will post a message there.. But what I am saying ALSO is that even if
I set up the classpaths manually , creating symbolic llink to ~/.m2 so that
I can list the jars in the repository, the class in question is not there.
That means , I believe the fault is not in the mvn idea: idea command but
elsewhere. That is why I said I do not understand how the original command
is working, it is not compiling(?) is mvn dowloading finished servicmix
project from project sites????

-- 
View this message in context: http://www.nabble.com/building-service-mix-using-IDE%28intellij%29-tf1907864.html#a5242014
Sent from the ServiceMix - User forum at Nabble.com.


Re: building service mix using IDE(intellij)

Posted by Philip Dodds <ph...@gmail.com>.
This sounds like an issue with the Maven idea:idea command it might be worth
posting a question to the Maven User Mailing List?

P

On 7/8/06, mclovis <mc...@mindbridge.com> wrote:
>
>
> what I am saying is that when I open up the code in Intellij
> javax.xml.bind.anotation.AccessType is not in the class path (file is not
> in
> the repository) Thus can not build using IDE unless I downlad jar myself
> ..
> that said I am not sure how command line mvn install  could be working..
>
> Adding jar is possible.. trying to create build environment that is
> consistant with current code base and the way you are managing it through
> maven.
>
>
> --
> View this message in context:
> http://www.nabble.com/building-service-mix-using-IDE%28intellij%29-tf1907864.html#a5228005
> Sent from the ServiceMix - User forum at Nabble.com.
>
>

Re: building service mix using IDE(intellij)

Posted by mclovis <mc...@mindbridge.com>.
what I am saying is that when I open up the code in Intellij
javax.xml.bind.anotation.AccessType is not in the class path (file is not in
the repository) Thus can not build using IDE unless I downlad jar myself ..
that said I am not sure how command line mvn install  could be working..

Adding jar is possible.. trying to create build environment that is
consistant with current code base and the way you are managing it through
maven.


-- 
View this message in context: http://www.nabble.com/building-service-mix-using-IDE%28intellij%29-tf1907864.html#a5228005
Sent from the ServiceMix - User forum at Nabble.com.