[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [cdt-core-dev] build from source
|
I cannot have access to the CVS repository due to company policies. Hence I have been able to download only cdt source code from the download site. The problem is that I need to only slightly modify one file in cdt.core folder.
What I did was that I imported cdt.core as a plugin project. This provided me with the plugin.xml etc files and .jar file. Then I added the src folder to this project and linked it up with the source code I downloaded.
Now I deleted the original .jar file from the project and after making minor modifications to the code, I exported original .jar file of it. But when I do so, the build fails saying "cannot be build due to class path errors (incomplete or involved in cycle)".
I tried the same exercise with a different plugin cdt.debug.mi.core and it worked but is not working for cdt.core.
Can anyone suggest what may be the cause or if can suggest any better method given that I don't have access to cvs repository, and hence how to build the project from only .java files.
Thanking you,
Diviya jain
-----Original Message-----
From: cdt-core-dev-admin@xxxxxxxxxxx [mailto:cdt-core-dev-admin@xxxxxxxxxxx] On Behalf Of Alex Chapiro
Sent: Monday, December 22, 2003 9:46 PM
To: cdt-core-dev@xxxxxxxxxxx
Subject: Re: [cdt-core-dev] build from source
Your workspace include two types of plugins: those you take "as is" (you
import them as a binary plugins to workspace) and those your are working
at (these you download from CVS, keep as a source packages and are
modifying according to your purpose). I'm not sure that you should
modify CDT codes to reach your goals. There are different ways
(extension points, subclassing) to change its behaviour according to
your needs. Anyway, if you still going to modify CDT code, you shouldn't
do anything special: as soon as you save modified code, Eclipse compiles
it and places to the right location. After that you can run and debug it.
Diviya JAIN wrote:
>Hello everyone,
>
>I am very new to Eclipse. My aim is to extend CDT plugin to support our own toolchain.
>
>I have downloaded eclipse full 2.1.1 and installed it. I have also downloaded cdt plugin 1.2.0 and installed it with eclipse. It is working fine.
>
>Now I want to add some code to cdt.core. but seeing it as a plugin, gives only .jar file. I canniot view the source code. So I downloaded source code of cdt.
>
>But even If I make changes to source code, how should I rebuild the plugin.
>
>I am not able to do it. Can anybody help me in rebuilding the original plugin from the source.
>
>Thanking you,
>diviya
>
>_______________________________________________
>cdt-core-dev mailing list
>cdt-core-dev@xxxxxxxxxxx
>http://dev.eclipse.org/mailman/listinfo/cdt-core-dev
>
>
>
>
_______________________________________________
cdt-core-dev mailing list
cdt-core-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-core-dev