You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by Øyvind Harboe <oy...@zylin.com> on 2006/05/09 08:26:08 UTC

Creating patches for Cayenne w/Subclipse

How do I create a patch for Cayenne that includes new files?


In Eclipse w/CVS "Team->Create->Patch" would include new files, but
with Subclipse new files are not considered changes...

Is there an option to "svn diff" that Subclipse is not adding?


diff --old C:/workspace/cayenne-java 

-- 
Øyvind Harboe
http://www.zylin.com


Re: Creating patches for Cayenne w/Subclipse

Posted by Mike Kienenberger <mk...@gmail.com>.
On 5/9/06, Andrus Adamchik <an...@objectstyle.org> wrote:
> Could you please attach it to the original Jira issue (CAY-523) once
> it comes up (it seems to be down now)? I will commit it to the trunk
> once we fork 1.2 to a stable branch.
>
> A question to our Incubator mentors - is there a need to send a CLA
> to Apache if a patch was contributed via Apache Jira (i.e. the code
> grant checkbox was checked)? It would seem redundant, still wanted to
> verify.

No, if the grant checkbox is checked, that should be sufficient.

Re: Creating patches for Cayenne w/Subclipse

Posted by Andrus Adamchik <an...@objectstyle.org>.
Could you please attach it to the original Jira issue (CAY-523) once  
it comes up (it seems to be down now)? I will commit it to the trunk  
once we fork 1.2 to a stable branch.

A question to our Incubator mentors - is there a need to send a CLA  
to Apache if a patch was contributed via Apache Jira (i.e. the code  
grant checkbox was checked)? It would seem redundant, still wanted to  
verify.

Andrus


On May 9, 2006, at 9:51 AM, Øyvind Harboe wrote:

> On Tue, 2006-05-09 at 09:30 -0400, Andrus Adamchik wrote:
>> I think you can select files in question and then do "Team -> Add to
>> Version Control" and then do a diff.
>
> Ah! It works.
>
> I didn't think to try it since I've got read-only access to the
> repository.
>
> Attached is an example using the MSAccess adapter.
>
> -- 
> Øyvind Harboe
> http://www.zylin.com
> <msaccessadapter.txt>


Re: Creating patches for Cayenne w/Subclipse

Posted by Øyvind Harboe <oy...@zylin.com>.
On Tue, 2006-05-09 at 09:30 -0400, Andrus Adamchik wrote:
> I think you can select files in question and then do "Team -> Add to  
> Version Control" and then do a diff.

Ah! It works. 

I didn't think to try it since I've got read-only access to the
repository.

Attached is an example using the MSAccess adapter.

-- 
Øyvind Harboe
http://www.zylin.com

Re: Creating patches for Cayenne w/Subclipse

Posted by Andrus Adamchik <an...@objectstyle.org>.
I think you can select files in question and then do "Team -> Add to  
Version Control" and then do a diff. Also there is a "Select  
Unversioned Resources" checkbox in the Subclipse preferences panel.  
Not sure if this is related.

Andrus


On May 9, 2006, at 2:26 AM, Øyvind Harboe wrote:

> How do I create a patch for Cayenne that includes new files?
>
>
> In Eclipse w/CVS "Team->Create->Patch" would include new files, but
> with Subclipse new files are not considered changes...
>
> Is there an option to "svn diff" that Subclipse is not adding?
>
>
> diff --old C:/workspace/cayenne-java
>
> -- 
> Øyvind Harboe
> http://www.zylin.com
>
>