On Fri, Feb 22, 2013 at 10:19 AM, Greg <[email protected]> wrote:
> So what I'm potentially trying to achieve is
>
> 1. Setup the project as if it was a git clone (for the contribution
> guidelines)
> 2. Utilize composer in replacement for a project initialization script.
>
> I think the answer to my question is 'php composer.phar install
> --prefer-source'?

Yes -- "--prefer-source", or use something like "2.1.*@dev" for the
version (which will grab from source as a git clone as well).

> On Fri, Feb 22, 2013 at 9:17 AM, Matthew Weier O'Phinney <[email protected]>
> wrote:
>>
>> On Fri, Feb 22, 2013 at 9:13 AM, Greg <[email protected]> wrote:
>> > Is there a way to make it resolve to the same directory?
>>
>> Yes -- you can setup your git submodule to point to
>> vendor/zendframework/zendframework.
>>
>> However, if you do so, you'll need to setup autoloading yourself, and
>> if you end up using composer, you have the potential for odd
>> behavior/conflicts -- which is why we used separate directories.
>>
>> > On Fri, Feb 22, 2013 at 4:07 AM, Marco Pivetta <[email protected]>
>> > wrote:
>> >
>> >> Composer is not adopted by all users, thus the two possible paths. What
>> >> is
>> >> exactly your question about then?
>> >>
>> >> Marco Pivetta
>> >>
>> >> http://twitter.com/Ocramius
>> >>
>> >> http://ocramius.github.com/
>> >>
>> >>
>> >> On 22 February 2013 08:30, Greg <[email protected]> wrote:
>> >>
>> >>> Am I doing something wrong or are there two possible different
>> >>> installation
>> >>> directories for ZF2?
>> >>>
>> >>> Following each installation option for the skeleton application
>> >>>
>> >>> http://framework.zend.com/downloads/skeleton-app
>> >>>
>> >>> seems to lead to two different installation directories, i.e
>> >>>
>> >>> ZF2 or zendframework/zendframework
>> >>>
>> >>> It would be nice if which ever way would allow the user to explore
>> >>> more of
>> >>> composer's capabilities, e.g autoloading, project initialization? I
>> >>> may of
>> >>> missed of some configuration info?
>> >>>
>> >>>
>> >>> --
>> >>> Greg
>> >>>
>> >>
>> >>
>> >
>> >
>> > --
>> > Greg
>>
>>
>>
>> --
>> Matthew Weier O'Phinney
>> Project Lead            | [email protected]
>> Zend Framework          | http://framework.zend.com/
>> PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc
>>
>> --
>> List: [email protected]
>> Info: http://framework.zend.com/archives
>> Unsubscribe: [email protected]
>>
>>
>
>
>
> --
> Greg



-- 
Matthew Weier O'Phinney
Project Lead            | [email protected]
Zend Framework          | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to