Broken tutorial

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Broken tutorial

Gintautas Grigelionis
Tutorial build-a-ivy-repository is broken.

The whole story is this: it tries to fetch hibernate 3.2.5.ga which depends
on javax.transaction#jta;1.0.1B and javax.security#jacc;1.0 that are no
longer present at Maven Central due to licensing.

The question is, should we use hibernate 3.3.2.GA (which has a lot less
dependencies) or find another interesting example (Spring, anyone :-)?

Gintas
Reply | Threaded
Open this post in threaded view
|

Re: Broken tutorial

Jaikiran Pai
It's not actually broken. The tutorial intentionally uses (and
documents) it to explain how the repository is built and what happens
when certainartifacts aren't available and also for cases like where
there are version conflicts for the same module. The tutorial page[1] notes:

<quote>
As you can see the installation has failed, if you look at the log you
will see that there are missing artifacts on the source repository. This
means that you will need to download those artifacts manually, and copy
them to your destination repository to complete the installation.
Fortunately Ivy uses a best effort algorithm during install, so that
everything gets installed except the missing artifacts. (Note: these
missing artifacts are not in the public maven repository due to
licensing issues)

...

</quote>

[1]
http://ant.apache.org/ivy/history/master/tutorial/build-repository/basic.html


-Jaikiran


On 29/08/17 2:01 AM, Gintautas Grigelionis wrote:

> Tutorial build-a-ivy-repository is broken.
>
> The whole story is this: it tries to fetch hibernate 3.2.5.ga which depends
> on javax.transaction#jta;1.0.1B and javax.security#jacc;1.0 that are no
> longer present at Maven Central due to licensing.
>
> The question is, should we use hibernate 3.3.2.GA (which has a lot less
> dependencies) or find another interesting example (Spring, anyone :-)?
>
> Gintas
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Broken tutorial

Gintautas Grigelionis
Sorry about the confusion. It might be useful to add an <echo> with an
explanation to the build file, too -- BUILD FAILED is a bit unnerving ;-)

I noticed another problem with asciidoc: 1.5.4 fails on my box with the
latest Java 8u144, I had to downgrade it to 1.5.3 -- did anyone else see
that?
It looks like 1.6.0 is on the way (though it fails currently with "cannot
load ant.adoc"), so I am not sure if it is worth the while to report it
upstream.

I was looking into icons, gifs vs svgs, and decided that Unicode glyphs
could be used instead. I will commit a replacement for warning.svg later
tonight;
treelist needs a little more work (plus changes to Subversion, and we will
need to keep the icons anyway for ancient documentation's sake -- any ideas
as to what is the best solution?)

Gintas

2017-08-29 7:44 GMT+02:00 Jaikiran Pai <[hidden email]>:

> It's not actually broken. The tutorial intentionally uses (and documents)
> it to explain how the repository is built and what happens when
> certainartifacts aren't available and also for cases like where there are
> version conflicts for the same module. The tutorial page[1] notes:
>
> <quote>
> As you can see the installation has failed, if you look at the log you
> will see that there are missing artifacts on the source repository. This
> means that you will need to download those artifacts manually, and copy
> them to your destination repository to complete the installation.
> Fortunately Ivy uses a best effort algorithm during install, so that
> everything gets installed except the missing artifacts. (Note: these
> missing artifacts are not in the public maven repository due to licensing
> issues)
>
> ...
>
> </quote>
>
> [1] http://ant.apache.org/ivy/history/master/tutorial/build-repo
> sitory/basic.html
>
>
> -Jaikiran
>
>
>
> On 29/08/17 2:01 AM, Gintautas Grigelionis wrote:
>
>> Tutorial build-a-ivy-repository is broken.
>>
>> The whole story is this: it tries to fetch hibernate 3.2.5.ga which
>> depends
>> on javax.transaction#jta;1.0.1B and javax.security#jacc;1.0 that are no
>> longer present at Maven Central due to licensing.
>>
>> The question is, should we use hibernate 3.3.2.GA (which has a lot less
>> dependencies) or find another interesting example (Spring, anyone :-)?
>>
>> Gintas
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Broken tutorial

Jaikiran Pai


On 29/08/17 12:35 PM, Gintautas Grigelionis wrote:
>
> I noticed another problem with asciidoc: 1.5.4 fails on my box with the
> latest Java 8u144, I had to downgrade it to 1.5.3 -- did anyone else see
> that?
1.5.4 works fine for me with Java 8.

-Jaikiran

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]