Clean Build in Eclipse - Having Problems

3 messages Options
Embed this post
Permalink
rivercode

Clean Build in Eclipse - Having Problems

Reply Threaded More More options
Print post
Permalink
Hi,

I am trying to do a manual build of the code (release 0.9) using the guidelines on http://www.marketcetera.org/confluence/display/MDN/Building+Photon  to import it into Eclipse.

There are a lot (105) critical errors occurring and warnings (874), here is a sample:

--------------------------------------------------------------------------------------
Description Resource Path Location Type
The project was not built since its build path is incomplete. Cannot find the class file for

quickfix.FieldNotFound. Fix the build path then try building this project org.marketcetera.photon.testfragment Unknown Java Problem

The project was not built since its build path is incomplete. Cannot find the class file for quickfix.Group. Fix the build path then try building this project org.marketcetera.marketdata Unknown Java Problem

Bundle 'org.kxml' cannot be resolved MANIFEST.MF com.swtworkbench.community.xswt/META-INF line 22 Plug-in Problem

The import org.xmlpull cannot be resolved ICustomNSHandler.java com.swtworkbench.community.xswt/src/com/swtworkbench/community/xswt line 14 Java Problem

XmlPullParser cannot be resolved to a type ICustomNSHandler.java com.swtworkbench.community.xswt/src/com/swtworkbench/community/xswt line 32 Java Problem
--------------------------------------------------------------------------------------------

Being relatively new to Eclipse, I am sure that I have done something wrong...but I tried to follow the instructions closely.

My Qs ?
1.  Are these instructions upto date ?
2.  Should I get a Clean installation/build on importing or do I need to manually fix issues like imports, etc.

My system:
Eclipse 3.4.1
Windows XP
Maven 2.0.9
Java 1.6.0_10

Thankyou.
Colin DuPlantis-2

Re: Clean Build in Eclipse - Having Problems

Reply Threaded More More options
Print post
Permalink
Have you defined your Target Platform in Eclipse?  Go to
Window->Preferences and select Plug-in Development->Target Platform.
Make sure your target platform is correct.  If it is already defined and
correct, try Reload and Project->Clean (I assume you have Project->Build
Automatically set).

rivercode wrote:

> Hi,
>
> I am trying to do a manual build of the code (release 0.9) using the
> guidelines on
> http://www.marketcetera.org/confluence/display/MDN/Building+Photon  to
> import it into Eclipse.
>
> There are a lot (105) critical errors occurring and warnings (874), here is
> a sample:
>
> --------------------------------------------------------------------------------------
> Description Resource Path Location Type
> The project was not built since its build path is incomplete. Cannot find
> the class file for
>
> quickfix.FieldNotFound. Fix the build path then try building this project
> org.marketcetera.photon.testfragment Unknown Java Problem
>
> The project was not built since its build path is incomplete. Cannot find
> the class file for quickfix.Group. Fix the build path then try building this
> project org.marketcetera.marketdata Unknown Java Problem
>
> Bundle 'org.kxml' cannot be resolved MANIFEST.MF
> com.swtworkbench.community.xswt/META-INF line 22 Plug-in Problem
>
> The import org.xmlpull cannot be resolved ICustomNSHandler.java
> com.swtworkbench.community.xswt/src/com/swtworkbench/community/xswt line 14
> Java Problem
>
> XmlPullParser cannot be resolved to a type ICustomNSHandler.java
> com.swtworkbench.community.xswt/src/com/swtworkbench/community/xswt line 32
> Java Problem
> --------------------------------------------------------------------------------------------
>
> Being relatively new to Eclipse, I am sure that I have done something
> wrong...but I tried to follow the instructions closely.
>
> My Qs ?
> 1.  Are these instructions upto date ?
> 2.  Should I get a Clean installation/build on importing or do I need to
> manually fix issues like imports, etc.
>
> My system:
> Eclipse 3.4.1
> Windows XP
> Maven 2.0.9
> Java 1.6.0_10
>
> Thankyou.
>

_______________________________________________
m-etc-dev mailing list
[hidden email]
http://lists.marketcetera.org/mailman/listinfo/m-etc-dev_lists.marketcetera.org
Will Horn

Re: Clean Build in Eclipse - Having Problems

Reply Threaded More More options
Print post
Permalink
We do not have build instructions for 0.9.  The instructions on the wiki are from 0.5, and they will be updated for 1.0 soon.

The main difference from 0.5 is that the target platform is built automatically by maven.  Unless you modified profiles.xml, it should be at c:\photon-target\eclipse.  You need to point Eclipse to this location instead of using the target platform on the wiki.  The other difference is that to launch Photon, you need to open (in Eclipse) "org.marketcetera.photon.feature/photon.product".  This file opens in a form editor which should have two hyperlinks to start the product in run or debug mode.

-Will

On Sun, Nov 30, 2008 at 7:20 AM, Colin DuPlantis <[hidden email]> wrote:
Have you defined your Target Platform in Eclipse?  Go to
Window->Preferences and select Plug-in Development->Target Platform.
Make sure your target platform is correct.  If it is already defined and
correct, try Reload and Project->Clean (I assume you have Project->Build
Automatically set).

rivercode wrote:
> Hi,
>
> I am trying to do a manual build of the code (release 0.9) using the
> guidelines on
> http://www.marketcetera.org/confluence/display/MDN/Building+Photon  to
> import it into Eclipse.
>
> There are a lot (105) critical errors occurring and warnings (874), here is
> a sample:
>
> --------------------------------------------------------------------------------------
> Description   Resource        Path    Location        Type
> The project was not built since its build path is incomplete. Cannot find
> the class file for
>
> quickfix.FieldNotFound. Fix the build path then try building this project
> org.marketcetera.photon.testfragment          Unknown Java Problem
>
> The project was not built since its build path is incomplete. Cannot find
> the class file for quickfix.Group. Fix the build path then try building this
> project       org.marketcetera.marketdata             Unknown Java Problem
>
> Bundle 'org.kxml' cannot be resolved  MANIFEST.MF
> com.swtworkbench.community.xswt/META-INF      line 22 Plug-in Problem
>
> The import org.xmlpull cannot be resolved     ICustomNSHandler.java
> com.swtworkbench.community.xswt/src/com/swtworkbench/community/xswt   line 14
> Java Problem
>
> XmlPullParser cannot be resolved to a type    ICustomNSHandler.java
> com.swtworkbench.community.xswt/src/com/swtworkbench/community/xswt   line 32
> Java Problem
> --------------------------------------------------------------------------------------------
>
> Being relatively new to Eclipse, I am sure that I have done something
> wrong...but I tried to follow the instructions closely.
>
> My Qs ?
> 1.  Are these instructions upto date ?
> 2.  Should I get a Clean installation/build on importing or do I need to
> manually fix issues like imports, etc.
>
> My system:
> Eclipse 3.4.1
> Windows XP
> Maven 2.0.9
> Java 1.6.0_10
>
> Thankyou.
>

_______________________________________________
m-etc-dev mailing list
[hidden email]
http://lists.marketcetera.org/mailman/listinfo/m-etc-dev_lists.marketcetera.org


_______________________________________________
m-etc-dev mailing list
[hidden email]
http://lists.marketcetera.org/mailman/listinfo/m-etc-dev_lists.marketcetera.org