Hi Mathias,

Just some quick hints:
1. The download page for the Java project should be updated. Right now, the
quickest way to fetch jar files is from the build server:
http://openehr.cambiosys.org/continuum/
2. the jar adl-parser-with-dependencies is not in the dependency list of
other components. It's only useful if you want to run the parser as
command-line tool.

So it's strange that when you run "mvn install" from top level and
adl-parser is installed but still you got adl-parser missing.

Bert & Bruno, thanks for helping out. Let's discuss this issue further on
the Java list.

Cheers,
Rong


On Sun, Jul 20, 2008 at 4:07 PM, Bruno Cadonna <cadonna at inf.unibz.it> wrote:

> Hi Mathias,
>
> I had the same problem.
>
> There is a thread on the ref_impl_java mailing list regarding this. Just
> follow this link
> http://www.openehr.org/mailarchives/ref_impl_java/msg00840.html
>
> I do not know the source of the problem, but there a 2 possible solutions
> to completely build the project with maven:
>
> First solution:
> This solution is described on the thread mentioned above.
> 1. Download adl-parser-1.0.5-SNAPSHOT.jar from
> http://openehr.cambiosys.org/continuum/servlet/continuum/target/WorkingCopy.vm/view/WorkingCopy/id/16?userDirectory=targetand
>  install it in your maven 2 repository under
> ".m2\repository\acode\adl-parser\1.0.5-SNAPSHOT".
> 2. Run again "mvn clean install".
>
> Second solution:
> 1. Change to /adl-parser and
> 2. Run "mvn clean install".
>
> Probably it is better to post queries about the java reference
> implementation to the ref_impl_java mailing list.
> http://www.openehr.org/community/mailinglists.html
>
> Cheers,
> Bruno
>
>
>
> Mathias Conradt wrote:
>
>> I try to build the java-impl project - almost went thru but building the
>> ADL
>> Serializer fails with the message below.
>> (Alternatively I tried to look for the adl-serializer.jar on the project
>> page (http://www.openehr.org/svn/ref_impl_java/TRUNK/docs/download.htm)
>> to
>> download the binary, but couldn't find it there, only the adl-parser is
>> there.)
>>
>> My environment:
>> =============
>> Maven version: 2.0.7
>> Java version: 1.5.0_13
>> OS name: "linux" version: "2.6.24-19-generic" arch: "i386"
>>
>> Stracktrace:
>> =============
>> [INFO] [jar:jar]
>> [INFO]
>>
>> ----------------------------------------------------------------------------
>> [INFO] Building ADL Serializer
>> [INFO]
>>
>> ----------------------------------------------------------------------------
>> [INFO] [resources:resources]
>> [INFO] Using default encoding to copy filtered resources.
>> Downloading:
>> http://repo1.maven.org/maven2/commons-io/commons-io/1.2/commons-io-1.2.pom
>> 6K downloaded
>> [INFO] [compiler:compile]
>> [INFO] Nothing to compile - all classes are up to date
>> [INFO] [resources:testResources]
>> [INFO] Using default encoding to copy filtered resources.
>> Downloading:
>> http://repo1.maven.org/maven2/commons-io/commons-io/1.2/commons-io-1.2.jar
>> 64K downloaded
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Failed to resolve artifact.
>>
>> Missing:
>> ----------
>> 1) acode:adl-parser:jar:1.0.5-SNAPSHOT
>>
>>  Try downloading the file manually from the project website.
>>
>>  Then, install it using the command:      mvn install:install-file
>> -DgroupId=acode -DartifactId=adl-parser \
>>          -Dversion=1.0.5-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>> Alternatively, if you host your own repository you can deploy the file
>> there:       mvn deploy:deploy-file -DgroupId=acode
>> -DartifactId=adl-parser
>> \
>>          -Dversion=1.0.5-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file \
>>           -Durl=[url] -DrepositoryId=[id]
>>
>>  Path to dependency:        1) openehr:adl-serializer:jar:0.1-SNAPSHOT
>>        2) acode:adl-parser:jar:1.0.5-SNAPSHOT
>>
>> ----------
>> 1 required artifact is missing.
>>
>> for artifact:  openehr:adl-serializer:jar:0.1-SNAPSHOT
>>
>> from the specified remote repositories:
>>  central (http://repo1.maven.org/maven2)
>>
>>
> --
> Bruno Cadonna
>  Database and Information Systems (DIS)
>    Faculty of Computer Science
>      Free University of Bozen-Bolzano
>
> Piazza Domenicani 3
> 39100 Bozen/Bolzano
> Italy
>
> web: http://www.inf.unibz.it/dis
>
> _______________________________________________
> openEHR-technical mailing list
> openEHR-technical at openehr.org
> http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20080720/7ba48c6a/attachment.html>

Reply via email to