You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Karthik Krishnamurthy <kk...@gmail.com> on 2008/01/11 22:02:35 UTC

WOrking.... Finally

Hi,
Did that (i.e mvn Dprofile etc in the src directory). THen I had to go into
distributions\apache...\src and there I had to run mvn install.

Then the binart zips came into the "target" folder.

Thanks for your help

Karthik

gnodet wrote:
> 
> I'm not sure what you did, but it seems you're not in the right directory.
> 
> You need to unzip the apache-servicemix-3.2.1-src.zip archive.
> Once you do that, you'll find a apache-servicemix-3.2.1/src directory
> which
> contains a file named pom.xml and lots of subdirectories (distributions,
> core, etc...).
> You need to move into that folder and run the maven commands (mvn
> -Dprofile=step1)
> 
> This is the content of the src folder:
> 
> Guillaume-Nodets-MacPro:~/tmp/apache-servicemix-3.2.1/src gnodet$ ll
> total 560
> -rw-r--r--    1 gnodet  gnodet      5K Jan 11 17:02 KEYS
> -rw-r--r--    1 gnodet  gnodet    132K Jan 11 17:02 LICENSE
> -rw-r--r--    1 gnodet  gnodet     12K Jan 11 17:02 NOTICE
> -rw-r--r--    1 gnodet  gnodet      1K Jan 11 17:02 README
> -rw-r--r--    1 gnodet  gnodet      2K Jan 11 17:02 RELEASE-NOTES
> -rw-r--r--    1 gnodet  gnodet     16K Jan 11 17:02 RELEASE-NOTES-3.2
> drwxr-xr-x   28 gnodet  gnodet    952B Jan 11 17:02 archetypes/
> drwxr-xr-x    5 gnodet  gnodet    170B Jan 11 17:02 build/
> drwxr-xr-x    8 gnodet  gnodet    272B Jan 11 17:02 common/
> drwxr-xr-x    8 gnodet  gnodet    272B Jan 11 17:02 core/
> drwxr-xr-x    6 gnodet  gnodet    204B Jan 11 17:02 deployables/
> drwxr-xr-x    5 gnodet  gnodet    170B Jan 11 17:02 distributions/
> -rw-r--r--    1 gnodet  gnodet      2K Jan 11 17:02 doap.rdf
> drwxr-xr-x    3 gnodet  gnodet    102B Jan 11 17:02 etc/
> drwxr-xr-x    3 gnodet  gnodet    102B Jan 11 17:02 file:/
> drwxr-xr-x    4 gnodet  gnodet    136B Jan 11 17:02 parent/
> drwxr-xr-x    4 gnodet  gnodet    136B Jan 11 17:02 platforms/
> -rw-r--r--    1 gnodet  gnodet     87K Jan 11 17:02 pom.xml
> drwxr-xr-x   11 gnodet  gnodet    374B Jan 11 17:02 samples/
> drwxr-xr-x    4 gnodet  gnodet    136B Jan 11 17:02 servicemix-itests/
> drwxr-xr-x    6 gnodet  gnodet    204B Jan 11 17:02 tooling/
> drwxr-xr-x    5 gnodet  gnodet    170B Jan 11 17:02 web/
> drwxr-xr-x    4 gnodet  gnodet    136B Jan 11 17:02 xdocs/
> 
> When you run the first command, the first lines will be something like:
> Guillaume-Nodets-MacPro:~/tmp/apache-servicemix-3.2.1/src gnodet$  mvn
> -Dprofile=step1
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   ServiceMix
> [INFO]   Servicemix :: Build
> [INFO]   ServiceMix :: Parent
> [INFO]   ServiceMix :: Core
> [INFO]   ServiceMix :: JBI
> [INFO]   ServiceMix :: Services
> [INFO]   ServiceMix :: Core
> [INFO]   ServiceMix :: Audit
> [INFO]   ServiceMix :: Common
> [INFO]   ServiceMix :: Common
> [INFO]   ServiceMix :: Components
> [INFO]   ServiceMix :: SOAP
> [INFO]   ServiceMix :: SOAP2
> [INFO]   ServiceMix :: BeanFlow
> [INFO]   ServiceMix :: Tooling
> [INFO]   ServiceMix :: Maven2 Resource Plugin
> [INFO]   ServiceMix :: Maven2 JBI Plugin
> [INFO]   ServiceMix :: Maven2 XFire Plugin
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building ServiceMix
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> 
> On Jan 11, 2008 4:23 PM, Karthik Krishnamurthy <kk...@gmail.com>
> wrote:
> 
>>
>> Hi,
>> I am getting the following message when I do that. When I had run the
>> maven
>> commands from the D;\sm\apa*\src directory yesterday, it had run and
>> built
>> successfully. Only the target folders were not created. Fllowing your
>> instruction I extracted the source again into a different folder and this
>> is
>> what I have got. Any suggestions.
>>
>> Thank you
>> Karthik
>>
>> QUOTE:
>>
>> D:\smx\apache-servicemix-3.2.1\src\distributions\apache-servicemix\src>mvn
>> -Dpro
>> file=step1
>> [INFO] Scanning for projects...
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO]
>>
>> You must specify at least one goal. Try 'mvn install' to build or 'mvn
>> -?'
>> for o
>> ptions
>> See http://maven.apache.org for more information.
>>
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: < 1 second
>> [INFO] Finished at: Fri Jan 11 10:21:35 EST 2008
>> [INFO] Final Memory: 1M/2M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> UNQUOTE
>>
>>
>> D:\smx\apache-servicemix-3.2.1\src\distributions\apache-servicemix\src>
>>
>> gnodet wrote:
>> >
>> > You need to go into this "src" directory and launch the maven commands.
>> >
>> > On Jan 11, 2008 3:16 PM, Karthik Krishnamurthy <kk...@gmail.com>
>> > wrote:
>> >
>> >>
>> >> THis is the link from where I am using the tutorial:
>> >>
>> >>
>> http://servicemix.apache.org/3-installation.html#3.Installation-InstallationProcedureforWindows
>> >>
>> >> and, there is only an "src" folder inside
>> >> <smx_home_from_source>\distributions\apache-servicemix. There is not
>> >> "target" directory.
>> >>
>> >> Any suggestions??
>> >>
>> >> Thx
>> >> Karthik
>> >>
>> >> Karthik Krishnamurthy wrote:
>> >> >
>> >> > Hi,
>> >> > WHen I install servicemix through the binary its ok.
>> >> > WHen I install through the source (tried both svn and unzipping),
>> and
>> >> ran
>> >> > the maven commands, it does not create the necessary zip file that
>> is
>> >> > mentioned in the tutorial.
>> >> > QUOTE:
>> >> > Unzip the distribution using your favorite zip tool. The windows
>> >> > distribution is available at
>> >> >
>> >> > [servicemix_install_dir]\apache-servicemix\target\apache-
>> >> servicemix-3.0-incubating.zip
>> >> > UNQUOTE
>> >> >
>> >> > The zip file is not there. Am I missing something here? Please help.
>> >> >
>> >> > Thanks
>> >> > Karthik
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/not-getting-required-files-on-unzipping-or-SVN-tp14745741s12049p14756187.html
>> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>> > --
>> > Cheers,
>> > Guillaume Nodet
>> > ------------------------
>> > Blog: http://gnodet.blogspot.com/
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/not-getting-required-files-on-unzipping-or-SVN-tp14745741s12049p14758363.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> 
> 

-- 
View this message in context: http://www.nabble.com/not-getting-required-files-on-unzipping-or-SVN-tp14745741s12049p14764431.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.