Quantcast

ZF2 RC2 Packaging -- new paths intentional?

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

ZF2 RC2 Packaging -- new paths intentional?

Jonathan Maron
Hello all

I am currently updating ZendServiceLiveDocx to use ZF2 RC2, however, I
have noticed a change between RC1 and RC2 concerning the packaging.

First of all, pls look at the composer.json file of the repository:

https://github.com/jonathanmaron/ZendServiceLiveDocx/blob/master/composer.json

In RC1, \Zend\Soap\Client, for example, was installed into:

vendor/zendframework/zend-soap/Zend/Soap/Client.php

The other components follow the same directory pattern.

After updating composer.json to use '2.0.0rc2', \Zend\Soap\Client, for
example, was installed into:

vendor/zendframework/zend-soap/Zend/Soap/library/Zend/Soap/Client.php

All other components follow the same directory pattern.

Graphically, the difference can be seen here:

http://www.codingtheweb.com/misc/zf2-rc1-vs-rc2.png

RC2 breaks autoloading:

PHP Fatal error:  Class 'Zend\Soap\Client' not found in [..]

Is this change intentional? The path in RC2 seems convoluted to me.

TIA

Jonathan
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ZF2 RC2 Packaging -- new paths intentional?

Jurian Sluiman-3
2012/8/3 Jonathan Maron <[hidden email]>
Hello all

I am currently updating ZendServiceLiveDocx to use ZF2 RC2, however, I
have noticed a change between RC1 and RC2 concerning the packaging.

First of all, pls look at the composer.json file of the repository:

https://github.com/jonathanmaron/ZendServiceLiveDocx/blob/master/composer.json

In RC1, \Zend\Soap\Client, for example, was installed into:

vendor/zendframework/zend-soap/Zend/Soap/Client.php

The other components follow the same directory pattern.

After updating composer.json to use '2.0.0rc2', \Zend\Soap\Client, for
example, was installed into:

vendor/zendframework/zend-soap/Zend/Soap/library/Zend/Soap/Client.php

Is this change intentional? The path in RC2 seems convoluted to me.

There have been problems with Composer in RC1 before. They should be fixed now, but apparently another configuration popped up so they are still not usable. This is the link to the other thread: http://zend-framework-community.634137.n4.nabble.com/fw-core-Composer-packages-for-2-0-0-rc1-are-unusable-td4655949.html
--
Jurian Sluiman
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ZF2 RC2 Packaging -- new paths intentional?

Jonathan Maron
Hello Jurian

On Fri, Aug 3, 2012 at 11:08 AM, Jurian Sluiman
<[hidden email]> wrote:

> 2012/8/3 Jonathan Maron <[hidden email]>
>>
>> Hello all
>>
>> I am currently updating ZendServiceLiveDocx to use ZF2 RC2, however, I
>> have noticed a change between RC1 and RC2 concerning the packaging.
>>
>> First of all, pls look at the composer.json file of the repository:
>>
>>
>> https://github.com/jonathanmaron/ZendServiceLiveDocx/blob/master/composer.json
>>
>> In RC1, \Zend\Soap\Client, for example, was installed into:
>>
>> vendor/zendframework/zend-soap/Zend/Soap/Client.php
>>
>> The other components follow the same directory pattern.
>>
>> After updating composer.json to use '2.0.0rc2', \Zend\Soap\Client, for
>> example, was installed into:
>>
>> vendor/zendframework/zend-soap/Zend/Soap/library/Zend/Soap/Client.php
>>
>> Is this change intentional? The path in RC2 seems convoluted to me.
>
>
> There have been problems with Composer in RC1 before. They should be fixed
> now, but apparently another configuration popped up so they are still not
> usable. This is the link to the other thread:
> http://zend-framework-community.634137.n4.nabble.com/fw-core-Composer-packages-for-2-0-0-rc1-are-unusable-td4655949.html

Thanks (again) for your assistance.

Is there anything I can do to assist solving this issue?

I am currently working hard on
https://github.com/jonathanmaron/ZendServiceLiveDocx/ adding the new
features of the backend service.

This issue is a show stopper for me. For the time being, I will
continue developing against beta5.

TIA

Jonathan
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ZF2 RC2 Packaging -- new paths intentional?

Jurian Sluiman-3
In reply to this post by Jurian Sluiman-3
2012/8/3 Jonathan Maron <[hidden email]>
Hello Jurian

On Fri, Aug 3, 2012 at 11:08 AM, Jurian Sluiman <[hidden email]> wrote:
> There have been problems with Composer in RC1 before. They should be fixed
> now, but apparently another configuration popped up so they are still not
> usable. This is the link to the other thread:
> http://zend-framework-community.634137.n4.nabble.com/fw-core-Composer-packages-for-2-0-0-rc1-are-unusable-td4655949.html

Thanks (again) for your assistance.

Is there anything I can do to assist solving this issue?

I am currently working hard on
https://github.com/jonathanmaron/ZendServiceLiveDocx/ adding the new
features of the backend service.

This issue is a show stopper for me. For the time being, I will
continue developing against beta5.

Between RC1 and RC2 I could not find any change in the composer.json [1]. So I am not sure when and how the change in these packages have been made. You can always use the full zendframework library to develop, you get a zendframework/zendframework directory with all the packages inside.

--
Jurian Sluiman
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ZF2 RC2 Packaging -- new paths intentional?

Jonathan Maron
On Fri, Aug 3, 2012 at 1:43 PM, Jurian Sluiman <[hidden email]> wrote:

> 2012/8/3 Jonathan Maron <[hidden email]>
>>
>> Hello Jurian
>>
>> On Fri, Aug 3, 2012 at 11:08 AM, Jurian Sluiman <[hidden email]>
>> wrote:
>> > There have been problems with Composer in RC1 before. They should be
>> > fixed
>> > now, but apparently another configuration popped up so they are still
>> > not
>> > usable. This is the link to the other thread:
>> >
>> > http://zend-framework-community.634137.n4.nabble.com/fw-core-Composer-packages-for-2-0-0-rc1-are-unusable-td4655949.html
>>
>> Thanks (again) for your assistance.
>>
>> Is there anything I can do to assist solving this issue?
>>
>> I am currently working hard on
>> https://github.com/jonathanmaron/ZendServiceLiveDocx/ adding the new
>> features of the backend service.
>>
>> This issue is a show stopper for me. For the time being, I will
>> continue developing against beta5.
>
>

> Between RC1 and RC2 I could not find any change in the composer.json [1]. So
> I am not sure when and how the change in these packages have been made.

You are correct. I just did a fresh clone of
https://github.com/jonathanmaron/ZendServiceLiveDocx/ where in
composer.json, the dependencies were set to 2.0.0rc1, and I had
exactly the same issue. Only setting the dependencies to 2.0.0beta5
fixed the issue.

Several beta testers of ZF2/LiveDocx2.1 have come across this issue
already, hence I am eager to get a fix quickly.

> You
> can always use the full zendframework library to develop, you get a
> zendframework/zendframework directory with all the packages inside.

I guess for the time being, this sounds like a reasonable solution. I
can always reset the dependencies at a later date.

Thanks again for your assistance.

Jonathan
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ZF2 RC2 Packaging -- new paths intentional?

weierophinney
Administrator
In reply to this post by Jonathan Maron
-- Jonathan Maron <[hidden email]> wrote
(on Friday, 03 August 2012, 06:32 AM +0200):

> I am currently updating ZendServiceLiveDocx to use ZF2 RC2, however, I
> have noticed a change between RC1 and RC2 concerning the packaging.
>
> First of all, pls look at the composer.json file of the repository:
>
> https://github.com/jonathanmaron/ZendServiceLiveDocx/blob/master/composer.json
>
> In RC1, \Zend\Soap\Client, for example, was installed into:
>
> vendor/zendframework/zend-soap/Zend/Soap/Client.php
>
> The other components follow the same directory pattern.
>
> After updating composer.json to use '2.0.0rc2', \Zend\Soap\Client, for
> example, was installed into:
>
> vendor/zendframework/zend-soap/Zend/Soap/library/Zend/Soap/Client.php
>
> All other components follow the same directory pattern.
>
> Graphically, the difference can be seen here:
>
> http://www.codingtheweb.com/misc/zf2-rc1-vs-rc2.png
>
> RC2 breaks autoloading:
>
> PHP Fatal error:  Class 'Zend\Soap\Client' not found in [..]
>
> Is this change intentional? The path in RC2 seems convoluted to me.

The change in RC2 is due to working on our packaging tools to make them
more automated. It appears we have some errors to work out still,
however -- Ralph and I will work on those today.

Thanks for the report!

--
Matthew Weier O'Phinney
Project Lead            | [hidden email]
Zend Framework          | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ZF2 RC2 Packaging -- new paths intentional?

weierophinney
Administrator
Should be fixed now.

-- Matthew Weier O'Phinney <[hidden email]> wrote
(on Friday, 03 August 2012, 09:15 AM -0500):

> -- Jonathan Maron <[hidden email]> wrote
> (on Friday, 03 August 2012, 06:32 AM +0200):
> > I am currently updating ZendServiceLiveDocx to use ZF2 RC2, however, I
> > have noticed a change between RC1 and RC2 concerning the packaging.
> >
> > First of all, pls look at the composer.json file of the repository:
> >
> > https://github.com/jonathanmaron/ZendServiceLiveDocx/blob/master/composer.json
> >
> > In RC1, \Zend\Soap\Client, for example, was installed into:
> >
> > vendor/zendframework/zend-soap/Zend/Soap/Client.php
> >
> > The other components follow the same directory pattern.
> >
> > After updating composer.json to use '2.0.0rc2', \Zend\Soap\Client, for
> > example, was installed into:
> >
> > vendor/zendframework/zend-soap/Zend/Soap/library/Zend/Soap/Client.php
> >
> > All other components follow the same directory pattern.
> >
> > Graphically, the difference can be seen here:
> >
> > http://www.codingtheweb.com/misc/zf2-rc1-vs-rc2.png
> >
> > RC2 breaks autoloading:
> >
> > PHP Fatal error:  Class 'Zend\Soap\Client' not found in [..]
> >
> > Is this change intentional? The path in RC2 seems convoluted to me.
>
> The change in RC2 is due to working on our packaging tools to make them
> more automated. It appears we have some errors to work out still,
> however -- Ralph and I will work on those today.
>
> Thanks for the report!

--
Matthew Weier O'Phinney
Project Lead            | [hidden email]
Zend Framework          | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ZF2 RC2 Packaging -- new paths intentional?

Jonathan Maron
Hi Matthew

Awesome. Thank you. That does indeed fix the issue I was experiencing.

:-)

Jonathan

On Fri, Aug 3, 2012 at 7:05 PM, Matthew Weier O'Phinney
<[hidden email]> wrote:

> Should be fixed now.
>
> -- Matthew Weier O'Phinney <[hidden email]> wrote
> (on Friday, 03 August 2012, 09:15 AM -0500):
>> -- Jonathan Maron <[hidden email]> wrote
>> (on Friday, 03 August 2012, 06:32 AM +0200):
>> > I am currently updating ZendServiceLiveDocx to use ZF2 RC2, however, I
>> > have noticed a change between RC1 and RC2 concerning the packaging.
>> >
>> > First of all, pls look at the composer.json file of the repository:
>> >
>> > https://github.com/jonathanmaron/ZendServiceLiveDocx/blob/master/composer.json
>> >
>> > In RC1, \Zend\Soap\Client, for example, was installed into:
>> >
>> > vendor/zendframework/zend-soap/Zend/Soap/Client.php
>> >
>> > The other components follow the same directory pattern.
>> >
>> > After updating composer.json to use '2.0.0rc2', \Zend\Soap\Client, for
>> > example, was installed into:
>> >
>> > vendor/zendframework/zend-soap/Zend/Soap/library/Zend/Soap/Client.php
>> >
>> > All other components follow the same directory pattern.
>> >
>> > Graphically, the difference can be seen here:
>> >
>> > http://www.codingtheweb.com/misc/zf2-rc1-vs-rc2.png
>> >
>> > RC2 breaks autoloading:
>> >
>> > PHP Fatal error:  Class 'Zend\Soap\Client' not found in [..]
>> >
>> > Is this change intentional? The path in RC2 seems convoluted to me.
>>
>> The change in RC2 is due to working on our packaging tools to make them
>> more automated. It appears we have some errors to work out still,
>> however -- Ralph and I will work on those today.
>>
>> Thanks for the report!
>
> --
> Matthew Weier O'Phinney
> Project Lead            | [hidden email]
> Zend Framework          | http://framework.zend.com/
> PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc
Loading...