ace-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Tran <dant...@gmail.com>
Subject Re: Unable to build felix/dependencymanager and therefore ACE
Date Thu, 10 Feb 2011 03:00:52 GMT
I think i has a new groupId and artifactId, but the problem is the
bundle has .bundle instead of .jar file extension.

This is bad

http://www.knopflerfish.org/maven2/org/knopflerfish/log-IMPL/

-Dan

On Wed, Feb 9, 2011 at 6:33 PM, Hadrian Zbarcea <hzbarcea@gmail.com> wrote:
> I don't think it's there and I couldn't find it anywhere in a maven2 repo.
> Ops4j has an older version: http://repository.ops4j.org/maven2/org/knopflerfish/bundle/log/log_all/
>
> Hadrian
>
>
> On Feb 9, 2011, at 9:25 PM, Dan Tran wrote:
>
>> i meant
>>
>> http://www.knopflerfish.org/maven2
>>
>> -D
>>
>> On Wed, Feb 9, 2011 at 6:24 PM, Dan Tran <dantran@gmail.com> wrote:
>>> Thanks Mike
>>>
>>> May be it is best to have ACE dev to fixup the pom to pickup the
>>> correct bundle available at http://www.knopflerfish.org/maven
>>>
>>> Thanks again
>>>
>>> -Dan
>>>
>>> On Wed, Feb 9, 2011 at 6:09 PM, Michael Duffy <micduffy@gmail.com> wrote:
>>>> Dan,
>>>>
>>>> Here we go...
>>>>
>>>> http://www.knopflerfish.org/releases/2.0.0/jars/log/log_all-2.0.0.html
>>>>
>>>> Cheers,
>>>>
>>>> Mike
>>>> On Thu, Feb 10, 2011 at 1:01 PM, Dan Tran <dantran@gmail.com> wrote:
>>>>
>>>>> Hi Michael,
>>>>>
>>>>> what left for me is org.knopflerfish.bundle.log:log_all:jar:2.0.0
>>>>>
>>>>> I also found http://www.knopflerfish.org/maven  but no sign if that
>>>>> jar under that repo, may be it under different groupId/artifactId?
>>>>>
>>>>> -Dan
>>>>>
>>>>> On Wed, Feb 9, 2011 at 5:28 PM, Michael Duffy <micduffy@gmail.com>
wrote:
>>>>>> Dan,
>>>>>>
>>>>>> Just tested building again here at work - with the jars in my local
repo
>>>>> -
>>>>>> it works. But if I clean my local repo it doesn't work.
>>>>>>
>>>>>> When I build at home, I never have any issues.
>>>>>>
>>>>>> Therefore I will only build at home.
>>>>>>
>>>>>> If you still have issues, I can arrange to send u my jars ?
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Mike
>>>>>>
>>>>>> On Thu, Feb 10, 2011 at 12:25 PM, Dan Tran <dantran@gmail.com>
wrote:
>>>>>>
>>>>>>> Hi Mike
>>>>>>>
>>>>>>> I got the source from same place as your.
>>>>>>>
>>>>>>> If you build from home, may be you need to clean out your local
repo
>>>>>>> and give it a try?  Do you have your own maven repo manager
at home?
>>>>>>>
>>>>>>> -Dan
>>>>>>>
>>>>>>> On Wed, Feb 9, 2011 at 5:14 PM, Michael Duffy <micduffy@gmail.com>
>>>>> wrote:
>>>>>>>> Dan,
>>>>>>>>
>>>>>>>> I obtained the source code from here :
>>>>>>>>
>>>>>>>> http://svn.apache.org/repos/asf/incubator/ace/trunk/
>>>>>>>>
>>>>>>>> I had the bnd and bndUtils issues - but thats when I was
building it
>>>>> at
>>>>>>> work
>>>>>>>> with a Sonar Maven repo in place.
>>>>>>>>
>>>>>>>> When I build it at home I don't encounter those issues.
>>>>>>>>
>>>>>>>> Hope this helps,
>>>>>>>>
>>>>>>>> Mike.
>>>>>>>>
>>>>>>>> On Thu, Feb 10, 2011 at 11:59 AM, Dan Tran <dantran@gmail.com>
wrote:
>>>>>>>>
>>>>>>>>> Thanks Michael.
>>>>>>>>>
>>>>>>>>> I went further and blindfully setup dependencyManager
for bnd and
>>>>>>>>> bindlib under pom/pom.xml
>>>>>>>>>
>>>>>>>>> I got further with missing gwt-dnd-2.6.5. That can be
fixed by
>>>>>>>>> installing it to my local repo.
>>>>>>>>>
>>>>>>>>> so mvn clean install built
>>>>>>>>>
>>>>>>>>> however mvn clean install -Ptargets
>>>>>>>>>
>>>>>>>>> fails due to missing org.knopflerfish.bundle.log:log_all:jar:2.0.0
>>>>>>>>>
>>>>>>>>> -Dan
>>>>>>>>>
>>>>>>>>> On Wed, Feb 9, 2011 at 4:40 PM, Michael Duffy <micduffy@gmail.com>
>>>>>>> wrote:
>>>>>>>>>> I had the same issue because I was getting the source
from the
>>>>> wrong
>>>>>>>>>> subversion. When I get back to my desk i'll let u
know which svn I
>>>>> got
>>>>>>>>> the
>>>>>>>>>> correct source from
>>>>>>>>>> On 10/02/2011 11:24 AM, "Dan Tran" <dantran@gmail.com>
wrote:
>>>>>>>>>>> that is better, I got further build ACE with
this errror. Perhaps
>>>>> a
>>>>>>>>>>> bnd and bndlib should have entries in ace's dependencyManagement
>>>>>>>>>>>
>>>>>>>>>>> Missing:
>>>>>>>>>>> ----------
>>>>>>>>>>> 1) biz.aQute:bndlib:jar:0.0.313
>>>>>>>>>>>
>>>>>>>>>>> Try downloading the file manually from the project
website.
>>>>>>>>>>>
>>>>>>>>>>> Then, install it using the command:
>>>>>>>>>>> mvn install:install-file -DgroupId=biz.aQute
-DartifactId=bndlib
>>>>>>>>>>> -Dversion=0.0.313 -Dpackaging=jar -Dfile=/path/to/file
>>>>>>>>>>>
>>>>>>>>>>> Alternatively, if you host your own repository
you can deploy the
>>>>>>> file
>>>>>>>>>> there:
>>>>>>>>>>> mvn deploy:deploy-file -DgroupId=biz.aQute -DartifactId=bndlib
>>>>>>>>>>> -Dversion=0.0.313 -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url]
>>>>>>>>>>> -DrepositoryId=[id]
>>>>>>>>>>>
>>>>>>>>>>> Path to dependency:
>>>>>>>>>>> 1)
>>>>>>> org.apache.ace:ace-deployment-streamgenerator:bundle:0.8.0-SNAPSHOT
>>>>>>>>>>> 2) org.ops4j.pax.swissbox:pax-swissbox-tinybundles:jar:1.2.0
>>>>>>>>>>> 3) org.ops4j.pax.swissbox:pax-swissbox-bnd:jar:1.2.0
>>>>>>>>>>> 4) biz.aQute:bndlib:jar:0.0.313
>>>>>>>>>>>
>>>>>>>>>>> ----------
>>>>>>>>>>> 1 required artifact is missing.
>>>>>>>>>>>
>>>>>>>>>>> for artifact:
>>>>>>>>>>>
>>>>> org.apache.ace:ace-deployment-streamgenerator:bundle:0.8.0-SNAPSHOT
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> -D
>>>>>>>>>>>
>>>>>>>>>>> On Wed, Feb 9, 2011 at 3:27 PM, Marcel Offermans
>>>>>>>>>>> <marcel.offermans@luminis.nl> wrote:
>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>
>>>>>>>>>>>> I'll forward this issue to my co-developer
of that bundle, as
>>>>> he's
>>>>>>>>>> currently working on the annotation bundle for the
dependency
>>>>> manager.
>>>>>>>>>>>>
>>>>>>>>>>>> The good news is, you don't really need that
one for ACE, so
>>>>> instead
>>>>>>> of
>>>>>>>>>> building the whole dependency manager, go one level
deeper into the
>>>>>>>>>> dependencymanager/core folder and do a "mvn install"
there. That
>>>>>>> should
>>>>>>>>>> build the core bundle, which is enough for ACE and
for now just
>>>>> skip
>>>>>>> the
>>>>>>>>>> rest.
>>>>>>>>>>>>
>>>>>>>>>>>> Sorry for the inconvenience!
>>>>>>>>>>>>
>>>>>>>>>>>> Greetings, Marcel
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Feb 10, 2011, at 0:18 , Dan Tran wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> better log
>>>>>>>>>>>>>
>>>>>>>>>>>>> [INFO] Failed to resolve artifact.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Missing:
>>>>>>>>>>>>> ----------
>>>>>>>>>>>>> 1) biz.aQute:bnd:jar:0.0.401
>>>>>>>>>>>>>
>>>>>>>>>>>>>  Try downloading the file manually from
the project website.
>>>>>>>>>>>>>
>>>>>>>>>>>>>  Then, install it using the command:
>>>>>>>>>>>>>      mvn install:install-file -DgroupId=biz.aQute
>>>>> -DartifactId=bnd
>>>>>>>>>>>>> -Dversion=0.0.401 -Dpackaging=jar -Dfile=/path/to/file
>>>>>>>>>>>>>
>>>>>>>>>>>>>  Alternatively, if you host your own
repository you can deploy
>>>>> the
>>>>>>>>> file
>>>>>>>>>> there:
>>>>>>>>>>>>>      mvn deploy:deploy-file -DgroupId=biz.aQute
-DartifactId=bnd
>>>>>>>>>>>>> -Dversion=0.0.401 -Dpackaging=jar -Dfile=/path/to/file
>>>>> -Durl=[url]
>>>>>>>>>>>>> -DrepositoryId=[id]
>>>>>>>>>>>>>
>>>>>>>>>>>>>  Path to dependency:
>>>>>>>>>>>>>        1)
>>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>> org.apache.felix:org.apache.felix.dependencymanager.annotation:maven-plugin:3.0.0-SNAPSHOT
>>>>>>>>>>>>>        2) biz.aQute:bnd:jar:0.0.401
>>>>>>>>>>>>>
>>>>>>>>>>>>> ----------
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Wed, Feb 9, 2011 at 3:14 PM, Dan Tran
<dantran@gmail.com>
>>>>>>> wrote:
>>>>>>>>>>>>>> When build with felix/dependencymanagement
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> this what I got.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> [INFO] Failed to resolve artifact.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Missing:
>>>>>>>>>>>>>> ----------
>>>>>>>>>>>>>> 1) biz.aQute:bnd:jar:0.0.401
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>  Try downloading the file manually
from the project website.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Big thanks for looking into this
issue
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> -Dan
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Wed, Feb 9, 2011 at 2:19 PM, Marcel
Offermans
>>>>>>>>>>>>>> <marcel.offermans@luminis.nl>
wrote:
>>>>>>>>>>>>>>> Hello Dan,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Feb 9, 2011, at 19:06 , Dan
Tran wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi I am trying the build
ACE for the first time, and running
>>>>>>> into
>>>>>>>>>>>>>>>> build issue with felix/dependencymanagement
snapshot where
>>>>> bnd
>>>>>>>>>> version
>>>>>>>>>>>>>>>> 0.0.401 is not at maven central,
but i could not find that
>>>>>>> version
>>>>>>>>>>>>>>>> either at biz.aQute site.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Do you have work around for
this?  is there any thing else
>>>>>>> beside
>>>>>>>>>> bnd?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I am assuming you found the instructions
here:
>>>>>>>>>>>>>>> http://incubator.apache.org/ace/maven-build.html
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> From your description I'm not
100% sure where you get the
>>>>> missing
>>>>>>>>>> dependency. Is it when building 'dependencymanager'
or
>>>>>>> 'deploymentadmin'?
>>>>>>>>>> Could you post some lines of output that show the
message. Building
>>>>>>> those
>>>>>>>>>> here locally does seem to work, but that might be
because I have
>>>>>>> things
>>>>>>>>> in
>>>>>>>>>> my local Maven cache that you don't.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Greetings, Marcel
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>
>

Mime
View raw message