Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to export "cvs diff" to file from eclipse?

Posted on 2009-05-08
12
Medium Priority
?
1,810 Views
Last Modified: 2013-12-15
I think i might be silly, but I am tired completely searching solution for this...

So, the question is:
1. I have one module, say module1. Where i have lots files inside the modules
2. Using eclipse i can able to find the difference between 2 tags for each file...
3. so far fine, I want to find out the way so that i can see difference for the same module for 2 tags (all files included) and want to export that info to some other file...

Hope I am clear in explanations on my question.. Can any one help me to achieve this?

BTW, I am using Eclipse 3.4 ( I don't think it matters, but including if in case.. )
0
Comment
Question by:yarabati
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 6
12 Comments
 
LVL 12

Assisted Solution

by:Gibu George
Gibu George earned 800 total points
ID: 24337517
right click in the file select team--> click on create patch
0
 

Author Comment

by:yarabati
ID: 24337676
I see all buttans disabled, nothing to do...
And it is say "No changes", however there ARE changes...

Any ideas..how to use this???
0
 

Author Comment

by:yarabati
ID: 24337728

say, if:
1. i checkout module for tag1 (but tag2 is already there)
2. I wan to send the diff file from tag1 to tag2

How can I achieve this here...?
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 12

Expert Comment

by:Gibu George
ID: 24337823
This is my understanding

You have two tags in the CVS tag1 and tag2

You want to take the diff between a particular file in tag1 and tag2

is this correct?
0
 

Author Comment

by:yarabati
ID: 24337873
I am sorry, I think because of my bad English you could not able to understand i think..

1. module1 checked out by tag1
2. I want the difference in file for this module1 (already checked out using tag1) after comparing with tag2

Note: module1-which internally has around 100 files...

0
 
LVL 12

Expert Comment

by:Gibu George
ID: 24338044
I don't there is any way to take the diff between two tags. You need to check out both the tags and take the diffs using  windiff or winmerge or similar tools
0
 

Author Comment

by:yarabati
ID: 24338047

This seems quite different, than "cvs diff" command output:

1. I have one module, say module1
2. There are around 100 files, one file is say Test.java. This source has around 2000 lines of code.
3. I simply changed one line in Test.java by adding one extra comment...!!!
4. I want to send the difference now for entire module1, to my boss
5. So, I right clicked->Team->create patch
6. I see the file changed and created patch. so far so good... :)
7. I open that create patch file, and I see over 4000 lines, but i just added one extra comment. It tried giving entire source lines even though i didn't change it....

I see there are couple of options creating before patch, but all are same in the way it creates...
Is there any way, I can see only the changed lines in created patch.
0
 
LVL 12

Expert Comment

by:Gibu George
ID: 24338077
That might be white spce issues, or new line char between your cvs repository os and your os
0
 

Author Comment

by:yarabati
ID: 24338238

Seems right.... my CVS running under Redhat 7.1 (VM) and my desk machine is running under XP.

How I can handle this, any idea?
0
 
LVL 12

Expert Comment

by:Gibu George
ID: 24338290
The character set on both should be made same, I think that is the only way
0
 
LVL 12

Expert Comment

by:Gibu George
ID: 24338297
I am not 100% sure
0
 

Accepted Solution

by:
yarabati earned 0 total points
ID: 24338322
Hmmmm.... If that is the way, I can't do anything :(

Any ways, thanks a lot for the help....
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question