Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » OSEE » Building OSEE - problem running the build
Building OSEE - problem running the build [message #485032] Thu, 10 September 2009 10:30 Go to next message
Mark D-B is currently offline Mark D-BFriend
Messages: 188
Registered: July 2009
Senior Member
I had struggled to build OSEE using Eclipse Ganymede for some reason, but
have now successfully built using Galileo.

By "successfully" I mean that all projects within the Client Project Set
and Server Project Set have built without errors (I have 412 warnings!).

I downloaded the org.eclipse.osee.support.config project tree from the
repository and have access to the launch configurations under Run->Run
Configurations.

The problem is that when I try to run any of them I get an error saying
"Product org.eclipse.osee.framework.ui.product.osee could not be found".
What am I doing wrong please (apologies if this is a dumb question - my
background is in embedded software and systems engineering so building
Java is new to me)?

The reported command line is

Command-line arguments: -product
org.eclipse.osee.framework.ui.product.osee -data C:\Documents and
Settings\Mark\Galileo_workspace/runtime-workspace -dev file:C:/Documents
and
Settings/Mark/Galileo_workspace/.metadata/.plugins/org.eclip se.pde.core/OSEE
Demo product [localhost]/dev.properties -os win32 -ws win32 -arch x86

I tried changing the data directory to not have "/runtime-workspace" on
the end, but that didn't seem to help.
Re: Building OSEE - problem running the build [message #485334 is a reply to message #485032] Fri, 11 September 2009 12:04 Go to previous messageGo to next message
Mark D-B is currently offline Mark D-BFriend
Messages: 188
Registered: July 2009
Senior Member
I think I understand why I can't launch - I need to build further than I
have got using the Ant xml files in org.eclipse.osee.support.build.

However, if I run osee_client_build.xml I get

C:\Program
Files\Eclipse\Galileo\eclipse\plugins\org.eclipse.pde.build_ 3.5.0.v20090527-1800\scripts\genericTargets.xml:56:
Problem: failed to create task or type eclipse.fetch

Now I'm stuck again. eclipse.fetch is documented as getting files from
CVS, which I clearly don't expect to need. I thought I had everything
checked out from SVN so it shouldn't need to be fetching anything.

Help please!
Re: Building OSEE - problem running the build [message #485350 is a reply to message #485334] Fri, 11 September 2009 13:29 Go to previous messageGo to next message
Mark D-B is currently offline Mark D-BFriend
Messages: 188
Registered: July 2009
Senior Member
The prevously reported error is what I get from Run As->Ant Build from
inside the Galileo IDE.

If I run from the command line, I get

fetchElement:
[mkdir] Created dir: C:\Documents and
Settings\Mark\Galileo_workspace\sandbox\features
[eclipse.fetch] Could not create feature: file:/C:/Documents and
Settings/Mark/Galileo_workspace/sandbox/tempFeature/feature. xml.
[eclipse.fetch] Premature end of file.
[eclipse.fetch] Could not create feature: file:/C:/Documents and
Settings/Mark/Galileo_workspace/sandbox/tempFeature/.
[eclipse.fetch] Could not create feature: file:/C:/Documents and
Settings/Mark/Galileo_workspace/sandbox/tempFeature/feature. xml.

BUILD FAILED
C:\Documents and
Settings\Mark\Galileo_workspace\org.eclipse.osee.support.bui ld\support\osee_client_build.xml:15:
The following error occurred while executing this line:
C:\Documents and
Settings\Mark\Galileo_workspace\org.eclipse.osee.support.bui ld\support\osee_common_build.xml:27:
The following error occurred while executing this line:
C:\Program
Files\Eclipse\Galileo\eclipse\plugins\org.eclipse.pde.build_ 3.5.0.v20090527-1800\scripts\build.xml:34:
The following error occurred while executing this line:
C:\Program
Files\Eclipse\Galileo\eclipse\plugins\org.eclipse.pde.build_ 3.5.0.v20090527-1800\scripts\build.xml:78:
The following error occurred while executing this line:
C:\Documents and
Settings\Mark\Galileo_workspace\org.eclipse.osee.support.bui ld\support\customTargets.xml:12:
The following error occurred while executing this line:
C:\Program
Files\Eclipse\Galileo\eclipse\plugins\org.eclipse.pde.build_ 3.5.0.v20090527-1800\templates\headless-build\allElements.xm l
:16: The following error occurred while executing this line:
C:\Program
Files\Eclipse\Galileo\eclipse\plugins\org.eclipse.pde.build_ 3.5.0.v20090527-1800\scripts\genericTargets.xml:56:
Feature org.eclipse.osee.client.feature may have not been fetched
correctly, check your map files.


instead.


An empty feature.xml file is being created in C:\Documents and
Settings\Mark\Galileo_workspace\sandbox\features

The workspace has a feature.xml with sensible content in for
org.eclipse.osee.client.feature.
Re: Building OSEE - problem running the build [message #485378 is a reply to message #485350] Fri, 11 September 2009 14:57 Go to previous messageGo to next message
Mark D-B is currently offline Mark D-BFriend
Messages: 188
Registered: July 2009
Senior Member
The error here was due to having not set the proxy server details in the
SVN servers file.

It now, however, gets a timeout when retrieving anything in the map file
with GET rather than SVN in the line. I'm guessing this is down to proxies
again. Does Ant Get retrieve proxy details from Eclipse, or do they need
setting seperately?

Also, I still don't understand why Run As->Ant Build in the GUI behaves
differently from using eclipsec and antRunner. Run As->Ant Build still
says it can't find eclipse.fetch, even though it is there in the Ant
Runtime tasks list.
Re: Building OSEE - problem running the build [message #485720 is a reply to message #485032] Mon, 14 September 2009 16:09 Go to previous message
Ryan D. Brooks is currently offline Ryan D. BrooksFriend
Messages: 100
Registered: July 2009
Senior Member
For reference, https://bugs.eclipse.org/bugs/show_bug.cgi?id=289201provides the resolution of this question.
Re: Building OSEE - problem running the build [message #575487 is a reply to message #485032] Fri, 11 September 2009 12:04 Go to previous message
Mark D-B is currently offline Mark D-BFriend
Messages: 188
Registered: July 2009
Senior Member
I think I understand why I can't launch - I need to build further than I
have got using the Ant xml files in org.eclipse.osee.support.build.

However, if I run osee_client_build.xml I get

C:\Program
Files\Eclipse\Galileo\eclipse\plugins\org.eclipse.pde.build_ 3.5.0.v20090527-1800\scripts\genericTargets.xml:56:
Problem: failed to create task or type eclipse.fetch

Now I'm stuck again. eclipse.fetch is documented as getting files from
CVS, which I clearly don't expect to need. I thought I had everything
checked out from SVN so it shouldn't need to be fetching anything.

Help please!
Re: Building OSEE - problem running the build [message #575514 is a reply to message #485334] Fri, 11 September 2009 13:29 Go to previous message
Mark D-B is currently offline Mark D-BFriend
Messages: 188
Registered: July 2009
Senior Member
The prevously reported error is what I get from Run As->Ant Build from
inside the Galileo IDE.

If I run from the command line, I get

fetchElement:
[mkdir] Created dir: C:\Documents and
Settings\Mark\Galileo_workspace\sandbox\features
[eclipse.fetch] Could not create feature: file:/C:/Documents and
Settings/Mark/Galileo_workspace/sandbox/tempFeature/feature. xml.
[eclipse.fetch] Premature end of file.
[eclipse.fetch] Could not create feature: file:/C:/Documents and
Settings/Mark/Galileo_workspace/sandbox/tempFeature/.
[eclipse.fetch] Could not create feature: file:/C:/Documents and
Settings/Mark/Galileo_workspace/sandbox/tempFeature/feature. xml.

BUILD FAILED
C:\Documents and
Settings\Mark\Galileo_workspace\org.eclipse.osee.support.bui ld\support\osee_client_build.xml:15:
The following error occurred while executing this line:
C:\Documents and
Settings\Mark\Galileo_workspace\org.eclipse.osee.support.bui ld\support\osee_common_build.xml:27:
The following error occurred while executing this line:
C:\Program
Files\Eclipse\Galileo\eclipse\plugins\org.eclipse.pde.build_ 3.5.0.v20090527-1800\scripts\build.xml:34:
The following error occurred while executing this line:
C:\Program
Files\Eclipse\Galileo\eclipse\plugins\org.eclipse.pde.build_ 3.5.0.v20090527-1800\scripts\build.xml:78:
The following error occurred while executing this line:
C:\Documents and
Settings\Mark\Galileo_workspace\org.eclipse.osee.support.bui ld\support\customTargets.xml:12:
The following error occurred while executing this line:
C:\Program
Files\Eclipse\Galileo\eclipse\plugins\org.eclipse.pde.build_ 3.5.0.v20090527-1800\templates\headless-build\allElements.xm l
:16: The following error occurred while executing this line:
C:\Program
Files\Eclipse\Galileo\eclipse\plugins\org.eclipse.pde.build_ 3.5.0.v20090527-1800\scripts\genericTargets.xml:56:
Feature org.eclipse.osee.client.feature may have not been fetched
correctly, check your map files.


instead.


An empty feature.xml file is being created in C:\Documents and
Settings\Mark\Galileo_workspace\sandbox\features

The workspace has a feature.xml with sensible content in for
org.eclipse.osee.client.feature.
Re: Building OSEE - problem running the build [message #575534 is a reply to message #485350] Fri, 11 September 2009 14:57 Go to previous message
Mark D-B is currently offline Mark D-BFriend
Messages: 188
Registered: July 2009
Senior Member
The error here was due to having not set the proxy server details in the
SVN servers file.

It now, however, gets a timeout when retrieving anything in the map file
with GET rather than SVN in the line. I'm guessing this is down to proxies
again. Does Ant Get retrieve proxy details from Eclipse, or do they need
setting seperately?

Also, I still don't understand why Run As->Ant Build in the GUI behaves
differently from using eclipsec and antRunner. Run As->Ant Build still
says it can't find eclipse.fetch, even though it is there in the Ant
Runtime tasks list.
Re: Building OSEE - problem running the build [message #575553 is a reply to message #485032] Mon, 14 September 2009 16:09 Go to previous message
Ryan D. Brooks is currently offline Ryan D. BrooksFriend
Messages: 100
Registered: July 2009
Senior Member
For reference, https://bugs.eclipse.org/bugs/show_bug.cgi?id=289201provides the resolution of this question.

Thanks,
Ryan Brooks
Previous Topic:Building OSEE - problem running the build
Next Topic:Moving to a new version - can you mix OSEE client/server versions?
Goto Forum:
  


Current Time: Fri Apr 19 21:09:28 GMT 2024

Powered by FUDForum. Page generated in 0.03517 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top