| Forum: P2 dev |
|---|
| Topic: How to find IU(org.eclipse.equinox.executable_root) when headless building. |
|---|
| How to find IU(org.eclipse.equinox.executable_root) when headless building. [message #500122] |
Wed, 25 November 2009 00:04 |
Hiroki Kondo Messages: 16 Registered: July 2009 |
Junior Member |
|
|
Hi,
I'd like to build my RCP using p2 technology.
So I added delta-pack to target environment and added to set p2 setting to build.properties like p2.gathering=true.
But I got the build log message bellow.(Is it error message?)
How to find IU about org.eclipse.equinox.executable?(I know this feature is included delta-pack.)
My build environment is
customized build script generated by plugin builder.
Ubuntu Linux 9.10.
-- start build log --
[java] customAssembly:
[java]
[java] generate.p2.metadata:
[java] Unable to find: Installable Unit [ id=org.eclipse.equinox.executable_root.gtk.linux.x86 ]
[java] Unable to find: Installable Unit [ id=org.eclipse.equinox.executable_root.carbon.macosx.x86 ]
[java] Unable to find: Installable Unit [ id=org.eclipse.equinox.executable_root.win32.win32.x86 ]
[java] [delete] Deleting directory /tmp/org.kompiro.jamcircle.builder/tmp/p2.branding
[java] [copy] Copying 1 file to /tmp/org.kompiro.jamcircle.builder/features/org.eclipse.pde. build.container.feature/product
[java] [eclipse.idReplacer] Could not find com.ibm.icu
[java] [eclipse.idReplacer] Could not find org.apache.bsf
[java] [eclipse.idReplacer] Could not find org.apache.commons.lang
[java] [eclipse.idReplacer] Could not find org.apache.commons.logging
[java] [eclipse.idReplacer] Could not find org.eclipse.compare.core
[java] [eclipse.idReplacer] Could not find org.eclipse.core.net
[java] [eclipse.idReplacer] Could not find org.eclipse.core.runtime
[java] [eclipse.idReplacer] Could not find org.eclipse.core.runtime.compatibility
[java] [eclipse.idReplacer] Could not find org.eclipse.core.runtime.compatibility.auth
[java] [eclipse.idReplacer] Could not find org.eclipse.core.variables
[java] [eclipse.idReplacer] Could not find org.eclipse.draw2d
[java] [eclipse.idReplacer] Could not find org.eclipse.equinox.app
[java] [eclipse.idReplacer] Could not find org.eclipse.equinox.common
[java] [eclipse.idReplacer] Could not find org.eclipse.equinox.preferences
[java] [eclipse.idReplacer] Could not find org.eclipse.equinox.registry
[java] [eclipse.idReplacer] Could not find org.eclipse.equinox.security
[java] [eclipse.idReplacer] Could not find org.eclipse.equinox.security.ui
[java] [eclipse.idReplacer] Could not find org.eclipse.gef
[java] [eclipse.idReplacer] Could not find org.eclipse.help
[java] [eclipse.idReplacer] Could not find org.eclipse.jface
[java] [eclipse.idReplacer] Could not find org.eclipse.jface.databinding
[java] [eclipse.idReplacer] Could not find org.eclipse.jface.text
[java] [eclipse.idReplacer] Could not find org.eclipse.osgi
[java] [eclipse.idReplacer] Could not find org.eclipse.swt
[java] [eclipse.idReplacer] Could not find org.eclipse.text
[java] [eclipse.idReplacer] Could not find org.eclipse.ui
[java] [eclipse.idReplacer] Could not find org.eclipse.ui.console
[java] [eclipse.idReplacer] Could not find org.eclipse.ui.forms
[java] [eclipse.idReplacer] Could not find org.eclipse.ui.workbench
[java] [eclipse.idReplacer] Could not find org.eclipse.ui.workbench.texteditor
[java] [eclipse.idReplacer] Could not find org.jivesoftware.smack
[java] [eclipse.idReplacer] Could not find org.jruby
[java] [eclipse.idReplacer] Could not find org.kompiro.jamcircle.debug
[java] [eclipse.idReplacer] Could not find org.kompiro.jamcircle.kanban.core
[java] [eclipse.idReplacer] Could not find org.kompiro.jamcircle.kanban.ui
[java] [eclipse.idReplacer] Could not find org.kompiro.jamcircle.rcp
[java] [eclipse.idReplacer] Could not find org.kompiro.jamcircle.scripting.core
[java] [eclipse.idReplacer] Could not find org.kompiro.jamcircle.scripting.ui
[java] [eclipse.idReplacer] Could not find org.kompiro.jamcircle.storage.core
[java] [eclipse.idReplacer] Could not find org.kompiro.jamcircle.storage.ui
[java] [eclipse.idReplacer] Could not find org.kompiro.jamcircle.xmpp.core
[java] [eclipse.idReplacer] Could not find org.kompiro.jamcircle.xmpp.kanban.ui
[java] [eclipse.idReplacer] Could not find org.kompiro.jamcircle.xmpp.ui
[java] [eclipse.idReplacer] Could not find org.mozilla.javascript
[java] [eclipse.idReplacer] Could not find org.sf.feeling.swt.win32.extension
[java] [p2.mirror] Problems resolving provisioning plan.
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.ui.cocoa [1.0.0.I20090525-2000].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.swt.win32.win32.x86_64 [3.5.1.v3555a].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.swt.wpf.win32.x86 [3.5.1.v3555a].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.swt.gtk.linux.s390 [3.5.0.v3550b].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.swt.gtk.linux.s390x [3.5.0.v3550b].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.swt.gtk.solaris.sparc [3.5.1.v3555a].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.swt.gtk.solaris.x86 [3.5.1.v3555a].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.swt.gtk.linux.ppc [3.5.1.v3555a].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.swt.gtk.linux.x86_64 [3.5.1.v3555a].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.swt.cocoa.macosx [3.5.1.v3555a].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.swt.cocoa.macosx [3.5.1.v3555a].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.swt.cocoa.macosx.x86_64 [3.5.1.v3555a].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.swt.motif.aix.ppc [3.5.1.v3555a].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.swt.motif.hpux.PA_RISC [3.5.0.HEAD].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.swt.motif.hpux.ia64_32 [3.5.1.v3555a].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.swt.motif.linux.x86 [3.5.1.v3555a].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.swt.motif.solaris.sparc [3.5.1.v3555a].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.swt.photon.qnx.x86 [3.5.1.v3555a].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.equinox.launcher.gtk.solaris.sparc [1.0.201.R35x_v20090720].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.equinox.launcher.gtk.solaris.x86 [1.0.201.R35x_v20090720].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.equinox.launcher.cocoa.macosx [1.0.1.R35x_v20090707].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.equinox.launcher.cocoa.macosx [1.0.1.R35x_v20090707].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.equinox.launcher.cocoa.macosx.x86_64 [1.0.1.R35x_v20090707].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.equinox.launcher.gtk.linux.ppc [1.0.200.v20090519].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.equinox.launcher.gtk.linux.s390 [1.0.100.v20090426-1530].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.equinox.launcher.gtk.linux.s390x [1.0.100.v20090426-1530].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.equinox.launcher.motif.linux.x86 [1.0.200.v20090520].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.equinox.launcher.gtk.linux.x86_64 [1.0.200.v20090519].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.equinox.launcher.motif.aix.ppc [1.0.200.v20090519].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.equinox.launcher.motif.hpux.ia64_32 [1.0.100.v20090519].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.equinox.launcher.motif.hpux.PA_RISC [1.0.100.v20090306-1900].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.equinox.launcher.wpf.win32.x86 [1.0.200.v20090519].
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 to org.eclipse.equinox.launcher.win32.win32.x86_64 [1.0.200.v20090519].
[java] [p2.mirror] Messages while mirroring artifact descriptors.
Regards,
|
|
|
| Forum: Eclipse Platform |
|---|
| Topic: Customized .log file location |
|---|
| Re: Customized .log file location [message #500129 is a reply to message #496996 ] |
Wed, 25 November 2009 02:02 |
Daniel Krügler Messages: 431 Registered: July 2009 |
Senior Member |
|
|
Daniel Krügler wrote:
> It is an user-request of high priority for our RCP programs that
> the log files (primarily the .log file, but there are two different
> log files types as well from the Eclipse framework) should be positioned
> at a different location than the default location (workspace/.metadata).
>
> The important point is: The decision for this needs to support a
> *dynamic* and programmatic specification and cannot be provided as
> constants in the launching configuration.
>
> I would be very happy if someone could give me a pointer how this may be
> realized. During a class search related to logging I stumbled across
> FrameworkAdaptor, AdaptorHook, and BaseAdaptor, but it is unclear to me:
>
> a) Which of these needs to be implemented (if at all) and how that can
> be done in a way that restricts to the specification of the log file
> location (E.g. I don't want to re-implement BaseAdaptor, if possible)
>
> b) How to "inject" this implementation into the RCP such that it will be
> used (I use a feature based headless build, if this information is
> relevant).
I'm a bit surprised that no-one else seems to think that this is an
important feature. I have been asking this question over several
years and I got never a reply. So the only way to fix this seems
to be that the installation modifies the configuration file.
Personally I'm not happy with that solution but at least it is
a work-around.
- Daniel
|
|
|
| Forum: CDT |
|---|
| Topic: indexer can not identify size_t |
|---|
| indexer can not identify size_t [message #500133] |
Wed, 25 November 2009 02:27 |
Vincent Messages: 5 Registered: July 2009 |
Junior Member |
|
|
Hi all,
I am using Eclipse CDT quite a long time and indexer work almost perfect for me so far.
I recently found the indexer can not identify the type "size_t", so that "Open Declaration" function will be failed to find the function with size_t type parameters.
but I already set the paths for my project:
such as:
1. /usr/include/c++/4.2
2. /usr/include/c++/4.2/backward
3. /usr/include/c++/4.2/i486-linux-gnu
4. /usr/include
is there any wrong with my setting??
thanks!!
|
|
|
| Forum: Equinox |
|---|
| Topic: Redeploy RAP-Application on WebSphere and JBoss fails |
|---|
|
| Forum: UML2 |
|---|
| Topic: An Error running the zipfile for UML2 Profile |
|---|
| Re: An Error running the zipfile for UML2 Profile [message #500140 is a reply to message #496727 ] |
Wed, 25 November 2009 03:13 |
Williams Messages: 27 Registered: July 2009 |
Junior Member |
|
|
Can someone give me a reply? I still get stuck with the problem. It seems the following statement returns null:
Model epo2Model = (Model) load(URI.createURI(args[0]).appendSegment(
"ExtendedPO2").appendFileExtension(UMLResource.FILE_EXTENSION));
Any suggestion? Thanks.
Will
|
|
|
| Forum: Plugin Development Environment (PDE) |
|---|
| Topic: Adding product version number in exported product zip file |
|---|
| Re: Adding product version number in exported product zip file [message #500127 is a reply to message #500030 ] |
Wed, 25 November 2009 01:44 |
Bjoern Berg Messages: 9 Registered: November 2009 |
Junior Member |
|
|
Hi Andrew,
as I mentioned in my post, I use a headless build, but don't have a clue how to get the product version number into my zip files name.
Bjoern
|
|
|
| Topic: I wanted to use a FilteredTree in my outline view. |
|---|
| I wanted to use a FilteredTree in my outline view. [message #500141] |
Wed, 25 November 2009 03:15 |
jaykei Messages: 1 Registered: November 2009 |
Junior Member |
|
|
Hi. everyone.
I need some help for my plug-in.
I wanted to use a FilteredTree in my outline view.
So I created a subclass of ContentOutlinePage and override default treeviewer to FilteredTree's treeviewer.
After that, all I got is "An outline is not available." message.
At least I wanted to know why, but here's no error log at all.
If I set the treeviewer as normal treeviewer as commented code, below, I can see outline view as normal.
My codes are below. (codes which are not related to this subject are omitted.)
Could anybody help me out?
Is it impossible to use FilteredTree on outline view?
public class TestOutlinePage extends ContentOutlinePage {
private TreeViewer treeViewer;
public void createControl(Composite parent) {
PatternFilter filter = new PatternFilter();
FilteredTree tree = new FilteredTree(parent, SWT.MULTI | SWT.H_SCROLL
| SWT.V_SCROLL, filter, false);
treeViewer = tree.getViewer();
// treeViewr = new TreeViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
treeViewer.addSelectionChangedListener(this);
treeViewer.setInput(Input);
...
}
@Override
protected TreeViewer getTreeViewer() {
return treeViewer;
}
@Override
public Control getControl() {
if (treeViewer == null) {
return null;
}
return treeViewer.getControl();
}
@Override
public ISelection getSelection() {
if (treeViewer == null) {
return StructuredSelection.EMPTY;
}
return treeViewer.getSelection();
}
@Override
public void setFocus() {
treeViewer.getControl().setFocus();
}
@Override
public void setSelection(ISelection selection) {
if (treeViewer != null) {
treeViewer.setSelection(selection);
}
}
}
[Updated on: Wed, 25 November 2009 03:17]
|
|
|
| Forum: Standard Widget Toolkit (SWT) |
|---|
| Topic: How to show another window when login button clicked? |
|---|
| Re: How to show another window when login button clicked? [message #500130 is a reply to message #500118 ] |
Wed, 25 November 2009 01:44 |
Praveen Messages: 3 Registered: July 2009 |
Junior Member |
|
|
Please verify whether the below snippet (or similar code) helps your case -
public static void main (String [] args) {
Display display = new Display ();
final Shell shell = new Shell (display);
final Shell shell2 = new Shell (display);
shell.setLayout(new FillLayout());
Button bt = new Button(shell,SWT.None);
bt.setText("Login");
shell.pack();
shell.open ();
bt.addListener(SWT.Selection, new Listener() {
@Override
public void handleEvent(Event event) {
shell2.setLayout(new FillLayout());
Label lbl = new Label(shell2,SWT.None);
lbl.setText("Another shell");
shell2.pack();
shell2.open ();
shell.close();
}
});
while (!shell.isDisposed () || !shell2.isDisposed()) {
if (!display.readAndDispatch ()) display.sleep ();
}
display.dispose ();
}
|
|
|
| Topic: missing first column of a table |
|---|
| Re: missing first column of a table [message #500138 is a reply to message #499950 ] |
Wed, 25 November 2009 02:51 |
Praveen Messages: 3 Registered: July 2009 |
Junior Member |
|
|
Stella wrote:
> I run on GNU/Linux x86_64. swt_3.4.1.v3449c.
> Thanks, Stella
I've verified that this problem is reproducible on Linux and opened Bug
296085 for addressing this issue.
|
|
|
| Topic: Table#getTopIndex returns negative value |
|---|
Table#getTopIndex returns negative value [message #500146] |
Wed, 25 November 2009 03:24 |
Pierre Schubert Messages: 1 Registered: July 2009 |
Junior Member |
|
|
Hi everyone,
I have a problem with DND in conjunction with a table.
It appears on my Mac (OS X 10.6.2 64 bit) with the swt.cocoa (3.5.1v3555a) plugin.
I've added a DropTarget (DND.DROP_COPY) to a table in a shell. When I try to drop something on it, the following exception will be thrown:
!ENTRY org.eclipse.ui 4 0 2009-11-25 08:49:40.661
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.IllegalArgumentException: Index out of bounds
at org.eclipse.swt.SWT.error(SWT.java:3865)
at org.eclipse.swt.SWT.error(SWT.java:3799)
at org.eclipse.swt.SWT.error(SWT.java:3770)
at org.eclipse.swt.widgets.Widget.error(Widget.java:619)
at org.eclipse.swt.widgets.Table.getItem(Table.java:1420)
at org.eclipse.swt.dnd.DropTargetEffect.getItem(DropTargetEffect.java:107)
at org.eclipse.swt.dnd.DropTargetEffect.getItem(DropTargetEffect.java:90)
at org.eclipse.swt.dnd.DropTarget.setEventData(DropTarget.java:873)
at org.eclipse.swt.dnd.DropTarget.draggingUpdated(DropTarget.java:280)
at org.eclipse.swt.dnd.DropTarget.dropTargetProc(DropTarget.java:430)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend_bool(Native Method)
at org.eclipse.swt.internal.cocoa.NSRunLoop.runMode(NSRunLoop.java:42)
at org.eclipse.swt.widgets.Display.sleep(Display.java:3905)
at org.eclipse.ui.application.WorkbenchAdvisor.eventLoopIdle(WorkbenchAdvisor.java:364)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2406)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
...
I've debugged the code and found out that the method Table#getTopIndex returns -1 at DropTargetEvent.class:106.
The result is, that the method Table#getItem will be called with -1 and an IllegalArgumentException (Index out of bounds) will be thrown.
The javadoc of the method Table#getTopIndex says:
Returns the zero-relative index of the item which is currently at the top of the receiver...
Therefore I conclude that something is wrong with #getTopIndex method.
If the table has initially one or more items, everything works just fine.
Thanks for every contribution.
Kind regards
Pierre Schubert
|
|
|
| Forum: EclipseLink |
|---|
| Topic: Why does weaving prevent initalization of class variable |
|---|
Why does weaving prevent initalization of class variable [message #500151] |
Wed, 25 November 2009 03:36 |
habakuk Messages: 11 Registered: October 2009 |
Junior Member |
|
|
Hello people!
I found a strange behaviour when using weaving with inheritance. The class variables of the abstract superclass do not get initialized, no matter what I do. My example shows the class AbstractDV with the field changeSupport. I try to initialize it directly in the header and also in the constructor of the class. But it is always null and then causes a NPE when I call addPropertyChangeListener. The problem goes away when I turn off weaving.
@MappedSuperclass
public abstract class AbstractDV implements Serializable,PropertyChangeListener {
private static final long serialVersionUID = 1L;
@Transient
protected PropertyChangeSupport changeSupport = new PropertyChangeSupport(this); ;
// constructor
public AbstractDV() {
changeSupport = new PropertyChangeSupport(this);
}
public void addPropertyChangeListener(String propertyName,
PropertyChangeListener listener) {
changeSupport.addPropertyChangeListener(propertyName, listener);
}
...
}
@Entity
@Table(name="DV")
public class DV extends AbstractDV implements Serializable {
...
public DV() {
super();
}
...
}
I thought that weaving is completly transparent. But it looks like there is something happening inside that I don't know. How can the variable changeSupport ever be null? Calling new DV() should alway initialize the variable, or am I wrong?
Thanks
|
|
|
| Forum: Java Development Tools (JDT) |
|---|
| Topic: code hot swapping not working |
|---|
code hot swapping not working [message #500152] |
Wed, 25 November 2009 03:36 |
jim Messages: 1 Registered: November 2009 |
Junior Member |
|
|
OK I'm stumped. one day I was coding in eclipse and hot code and breakpoints were working fine. The next morning its not working at all. I tried reinstalling the jdk1.6.0_16 and jre, extracted eclipses and started with a new workspace and hot swapping is not working. Aside from reformatting I don't know what to do. Any idea as to why it would stop working?
here is the command that gets run when i debug:
""F:\Program Files\Java\jre6\bin\javaw.exe" -agentlib:jdwp=transport=dt_socket,suspend=y,address=localho st:4848 -Dfile.encoding=Cp1252 -classpath C:\ecltest\wk\test\bin tester"
|
|
|
| Forum: Epsilon |
|---|
| Topic: [HUTN] I can't create an instance from UML.ecore |
|---|
| Re: [HUTN] I can't create an instance from UML.ecore [message #500155 is a reply to message #499997 ] |
Wed, 25 November 2009 03:40 |
Raul Messages: 2 Registered: November 2009 |
Junior Member |
|
|
Perfect!, that is it now it works correctly.
Thank you for your help.
|
|
|
| Forum: Dynamic Languages Toolkit (DLTK) |
|---|
| Topic: Question regarding syntax coloring (+a question on launch configurations) |
|---|
| Re: Question regarding syntax coloring (+a question on launch configurations) [message #500142 is a reply to message #499764 ] |
Wed, 25 November 2009 03:04 |
Alex Panchenko Messages: 184 Registered: July 2009 |
Senior Member |
|
|
Hi Mikolaj,
PartitionScanner is used to split document into partitions, i.e. regions
where different formatting rules should be applied. E.g., keyword
"class" should be highlighted in the code partition, and should not be
highlighted in comments. That's why the partitions are used. The common
examples of partitions are code, strings and comments.
The next step is to specify syntax rules for each partition type.
For example in Ruby implementation there are RubyPartitionScanner,
RubyCodeScanner (for code partition) and scanners for other partitions.
Does it answer you question?
Regards,
Alex
|
|
|
| Topic: Switch Debug Perspective |
|---|
| Re: Switch Debug Perspective [message #500157 is a reply to message #498932 ] |
Wed, 25 November 2009 03:36 |
Alex Panchenko Messages: 184 Registered: July 2009 |
Senior Member |
|
|
Hi Suprit,
I suppose the perspective switch prompt is based on values in
Preferences - Run/Debug - Perspectives. And it works for me in case of
remote debug as well.
Do you use standard platform functionality or you've implemented the
prompt in your own code?
Regards,
Alex
|
|
|
| Forum: Rich Client Platform (RCP) |
|---|
| Topic: Referencing resources from other plugins in plugin.xml |
|---|
| Referencing resources from other plugins in plugin.xml [message #500139] |
Wed, 25 November 2009 02:55 |
Daniel Krügler Messages: 431 Registered: July 2009 |
Senior Member |
|
|
There is a very old issue still active
https://bugs.eclipse.org/bugs/show_bug.cgi?id=220195
which mentions the badly documented location syntax
e.g. for icons of the style
platform:/plugin/<pluginid>/icons/myicon.ico
which usually "just works", provided that the corresponding
plugin contains the resource myicon.ico at this location.
Indeed this works for the examples I was interested in
even though I agree with the bug reporter that this should
work consistently.
But I also remember that there was I much more fundamental issue
that suggested to introduce *symbolic* URL's for some standard
Eclipse resources (e.g. the shared images), which looks even
more appealing to me, because that approach would have the
effect, that the Eclipse platform could refactor the concrete
location of these officially shared resources, albeit still
being able to guarantee a stable "link" to them.
Unfortunately I don't find this bug any more :-(. Can someone
give me a pointer to that?
Thanks,
Daniel Krügler
|
|
|
| Re: Referencing resources from other plugins in plugin.xml [message #500143 is a reply to message #500139 ] |
Wed, 25 November 2009 03:09 |
Daniel Krügler Messages: 431 Registered: July 2009 |
Senior Member |
|
|
Daniel Krügler wrote:
> There is a very old issue still active
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=220195
>
> which mentions the badly documented location syntax
> e.g. for icons of the style
>
> platform:/plugin/<pluginid>/icons/myicon.ico
>
> which usually "just works", provided that the corresponding
> plugin contains the resource myicon.ico at this location.
> Indeed this works for the examples I was interested in
> even though I agree with the bug reporter that this should
> work consistently.
>
> But I also remember that there was I much more fundamental issue
> that suggested to introduce *symbolic* URL's for some standard
> Eclipse resources (e.g. the shared images), which looks even
> more appealing to me, because that approach would have the
> effect, that the Eclipse platform could refactor the concrete
> location of these officially shared resources, albeit still
> being able to guarantee a stable "link" to them.
>
> Unfortunately I don't find this bug any more :-(. Can someone
> give me a pointer to that?
OK, I found the answer on my own:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=246224
- Daniel Krügler
|
|
|
| Topic: Add new plug-ins to a RCP |
|---|
| Re: Add new plug-ins to a RCP [message #500144 is a reply to message #499643 ] |
Wed, 25 November 2009 03:20 |
Sciscio Messages: 3 Registered: November 2009 |
Junior Member |
|
|
If i add a *.jar of a plug-in in the «dropins» folder of eclipse, it works. But it doesn't if i create a folder «dropins» in my application and I put a plugin in it. Anyway, i will do some other attempt.
Is there any difference between a plugin for eclipse and a plugin for any other RCP application?
|
|
|
| Topic: OpenOffice + RCP: impossible? |
|---|
| Re: OpenOffice + RCP: impossible? [message #500156 is a reply to message #500015 ] |
Wed, 25 November 2009 03:42 |
Mauro Condarelli Messages: 18 Registered: September 2009 |
Junior Member |
|
|
Hi Gilbert,
Thanks for Your input.
I managed to open generic files using the following code:public class RTFEditor extends EditorPart {
public static final String ID = "it.condarelli.rcp.yw.rtfeditor";
private Composite top = null;
private static int usecount = 0;
private static ITextDocument doc = null;
private static IOfficeApplication app = null;
public RTFEditor() {
super();
usecount++;
}
@Override
public void dispose() {
if (doc != null) {
doc.close();
doc = null;
}
if (usecount > 0) {
if (--usecount == 0) {
if (app != null) {
if (app.isActive())
try {
app.deactivate();
} catch (OfficeApplicationException e) {
e.printStackTrace();
}
app.dispose();
app = null;
}
}
}
super.dispose();
}
@Override
public void doSave(IProgressMonitor monitor) {
if (doc != null) {
if (doc.isModified()) {
IPersistenceService ps = doc.getPersistenceService();
try {
ps.store();
} catch (DocumentException e) {
e.printStackTrace();
}
}
}
}
@Override
public void doSaveAs() {
}
@Override
public void init(IEditorSite site, IEditorInput input)
throws PartInitException {
setSite(site);
setInput(input);
}
@Override
public boolean isDirty() {
if (doc != null) {
return doc.isModified();
}
return false;
}
@Override
public boolean isSaveAsAllowed() {
return false;
}
@Override
public void createPartControl(Composite parent) {
IOfficeApplication a = EditorCorePlugin.getDefault().getManagedLocalOfficeApplication();
if(!a.isActive()) {
app = null;
Shell shell = parent.getShell();
IStatus status = NOAUIPlugin.startLocalOfficeApplication(shell, a);
if (status.getSeverity() != IStatus.ERROR) {
app = a;
}
}
if (app != null) {
GridData gridData = new GridData();
gridData.horizontalAlignment = GridData.FILL;
gridData.grabExcessHorizontalSpace = true;
gridData.grabExcessVerticalSpace = true;
gridData.verticalAlignment = GridData.FILL;
top = new Composite(parent, SWT.NO_BACKGROUND | SWT.EMBEDDED);
top.setLayout(new GridLayout());
Frame frame = SWT_AWT.new_Frame(top);
try {
IFrame ifr = app.getDesktopService().constructNewOfficeFrame(frame);
IEditorInput ei = getEditorInput();
FileStoreEditorInput fsei = (FileStoreEditorInput) ei.getAdapter(FileStoreEditorInput.class);
URI uri = fsei.getURI();
String url = uri.toString();
try {
IDocumentService s = app.getDocumentService();
IDocument d = s.loadDocument(ifr, url);
if (d instanceof ITextDocument) {
doc = (ITextDocument) d;
try {
URL u = uri.toURL();
String t = u.getFile();
int i = t.lastIndexOf('/');
t = t.substring(i+1);
setPartName(t);
} catch (MalformedURLException e) {}
}
} catch (DocumentException e1) {
e1.printStackTrace();
} catch (OfficeApplicationException e1) {
e1.printStackTrace();
}
} catch (DesktopException e) {
e.printStackTrace();
} catch (OfficeApplicationException e) {
e.printStackTrace();
}
}
}
@Override
public void setFocus() {
doc.getFrame().setFocus();
}
}
This is activatrd with something like: String tf = "file:///C:/what/ever/path/to/your/file.rtf";
try {
URI uri = new URI(tf);
try {
IFileStore fs = EFS.getStore(uri);
IEditorInput ei = new FileStoreEditorInput(fs);
IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
IWorkbenchPage page = window.getActivePage();
try {
page.openEditor(ei, RTFEditor.ID);
} catch (PartInitException e1) {
e1.printStackTrace();
}
} catch (CoreException e2) {
e2.printStackTrace();
}
} catch (URISyntaxException e2) {
e2.printStackTrace();
}
I had a lot of problems finding out a workable combination and this seems ok.
I still have several problems to solve, if someone cares to help:
- I need to hook to the editor close event in order to ask for save and, even more important, to notify to OpenOffice to close and discard the document. Currently I need to completely shut down OOo after editing because simply closing the EditorPart does not notify OOo and thus an headless document remains open and I can reopen it only in read-only mode. (I partially solved this in the latest code, but I'm not sure this is all that is needed).
- I would like to change some of the default settings, most notably I would like to set View->Web Layout mode. I didn't (yet) found a way to do that programmatically.
- Do save/restore and dirty-page handling programmatically, so I can completely disable the main-menu.
- Programmatically disable the main menu (i know how to do that with OOoBean, but not with noa4e).
- Some other minor issues.
Tia
Mauro
|
|
|
| Topic: Enable-disable command on click of a tab |
|---|
|
| Forum: EMF |
|---|
| Topic: [CDO] how to get released db connectors |
|---|
| Re: [CDO] how to get released db connectors [message #500125 is a reply to message #500093 ] |
Wed, 25 November 2009 01:04 |
Eike Stepper Messages: 1854 Registered: July 2009 |
Senior Member |
|
|
Hi Mark,
For CDO 3.0 I recently wrote this note:
I expect all builds to be published again to the usual update sites as
soon as possible, i.e. EMF update site, helios site and galileo
maintenance site. Third party drivers will be available at
http://net4j.sourceforge.net/update , zips at
http://net4j.sourceforge.net/update/downloads . An all-in-one repository
is Cloudsmith's Galileo+ at http://download.cloudsmith.com/galileoplus .
Nightly builds will probably be available through hudson. The job names
will probably change as we're trying to move from Athena to Buckminster
and later b3, so have a look in this folder for new jobs:
https://build.eclipse.org/hudson/view/Modeling
Cheers
/Eike
----
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Mark Geib schrieb:
> I have seen other posting sregarding the fact that, other than derby,
> the db connectors were not included in the current release of emf. I
> have no CVS access from my place of work and I am wondering how or where
> to get these missing plugins. I have done all the testing I plan to do
> with derby and need to be able to use hibernate or mysql now.
>
> Can someone please give me pointers on how to these plugins, compatible
> with the current release version of emf.
>
> Thanks,
> Mark.
>
|
|
|
| Topic: databinding missing IEMFSetProperty |
|---|
| Re: databinding missing IEMFSetProperty [message #500169 is a reply to message #500072 ] |
Wed, 25 November 2009 03:59 |
|
Originally posted by: Thomas.Kowatsch.ruag.com
Hi Tom, great man... :-)
Tom Schindl schrieb:
> Hi Thomas,
>
> I'll take a look at it tomorrow morning because I have a half day off.
>
> Tom
>
> Thomas Kowatsch schrieb:
>> Hi Tom.
>> I have seen and used your patch. Looks good ans seems to work.
>> Do you know when you can add the command execution stuff for the edit part?
>> Cheers.
>> -- Thomas
>>
>> Tom Schindl schrieb:
>>> Hi Thomas,
>>>
>>> Yes - you are on the right track :-). Maybe I can spend some minutes
>>> today in the afternoon to see if I can implement a IEMFSetProperty.
>>>
>>> Tom
>>>
>>> Thomas Kowatsch schrieb:
>>>> Hi Tom.
>>>>
>>>> I think I understand the dirty hack now.
>>>> I attached below a code snippet for you to check if this is generally
>>>> correct.
>>>> I know it is a very dirty implementation at the moment and can be
>>>> enhanced. But I only wanted to be sure that this is the correct
>>>> direction I go.
>>>>
>>>> Thanx in advance.
>>>> -- Thomas
>>>>
>>>> final IObservableList targetList=
>>>> IEMFEditListProperty.observeDeatil(master);
>>>> final WritableSet orgSet= new WritableSet();
>>>> orgSet.addChangeListener(new IChangeListener() {
>>>> @Override
>>>> public void handleChange (ChangeEvent event) {
>>>> if (!internalChange) {
>>>> // mark an internal change
>>>> internalChange= true;
>>>> try {
>>>> targetList.clear();
>>>> targetList.addAll(Arrays.asList(viewer.getCheckedElements()) );
>>>> } finally {
>>>> internalChange= false;
>>>> }
>>>> }
>>>> }
>>>> });
>>>>
>>>> targetList.addChangeListener(new IChangeListener() {
>>>> @Override
>>>> public void handleChange (ChangeEvent event) {
>>>> if (!_internalChange) {
>>>> // mark an internal change
>>>> _internalChange= true;
>>>> try {
>>>> orgSet.clear();
>>>> List<?> list= Arrays.asList(targetList.toArray());
>>>> orgSet.addAll(list);
>>>> } finally {
>>>> _internalChange= false;
>>>> }
>>>> }
>>>> }
>>>> });
>>>>
>>>> ctx.bindSet(ViewersObservables.observeCheckedElements(this,
>>>> Organisation.class), orgSet);
|
|
|
| Re: databinding missing IEMFSetProperty [message #500177 is a reply to message #500169 ] |
Wed, 25 November 2009 04:26 |
Tom Schindl Messages: 2078 Registered: July 2009 |
Senior Member |
|
|
You're welcome.
The changes are in HEAD and hopefully show up in the next build. I love
the properties stuff - it's never been so easy to implement stuff like this.
Tom
Thomas Kowatsch schrieb:
> Hi Tom, great man... :-)
>
> Tom Schindl schrieb:
>> Hi Thomas,
>>
>> I'll take a look at it tomorrow morning because I have a half day off.
>>
>> Tom
>>
>> Thomas Kowatsch schrieb:
>>> Hi Tom.
>>> I have seen and used your patch. Looks good ans seems to work.
>>> Do you know when you can add the command execution stuff for the edit
>>> part?
>>> Cheers.
>>> -- Thomas
>>>
>>> Tom Schindl schrieb:
>>>> Hi Thomas,
>>>>
>>>> Yes - you are on the right track :-). Maybe I can spend some minutes
>>>> today in the afternoon to see if I can implement a IEMFSetProperty.
>>>>
>>>> Tom
>>>>
>>>> Thomas Kowatsch schrieb:
>>>>> Hi Tom.
>>>>>
>>>>> I think I understand the dirty hack now.
>>>>> I attached below a code snippet for you to check if this is generally
>>>>> correct.
>>>>> I know it is a very dirty implementation at the moment and can be
>>>>> enhanced. But I only wanted to be sure that this is the correct
>>>>> direction I go.
>>>>>
>>>>> Thanx in advance.
>>>>> -- Thomas
>>>>>
>>>>> final IObservableList targetList=
>>>>> IEMFEditListProperty.observeDeatil(master);
>>>>> final WritableSet orgSet= new WritableSet();
>>>>> orgSet.addChangeListener(new IChangeListener() {
>>>>> @Override
>>>>> public void handleChange (ChangeEvent event) {
>>>>> if (!internalChange) {
>>>>> // mark an internal change
>>>>> internalChange= true;
>>>>> try {
>>>>> targetList.clear();
>>>>>
>>>>> targetList.addAll(Arrays.asList(viewer.getCheckedElements()) );
>>>>> } finally {
>>>>> internalChange= false;
>>>>> }
>>>>> }
>>>>> }
>>>>> });
>>>>>
>>>>> targetList.addChangeListener(new IChangeListener() {
>>>>> @Override
>>>>> public void handleChange (ChangeEvent event) {
>>>>> if (!_internalChange) {
>>>>> // mark an internal change
>>>>> _internalChange= true;
>>>>> try {
>>>>> orgSet.clear();
>>>>> List<?> list= Arrays.asList(targetList.toArray());
>>>>> orgSet.addAll(list);
>>>>> } finally {
>>>>> _internalChange= false;
>>>>> }
>>>>> }
>>>>> }
>>>>> });
>>>>>
>>>>> ctx.bindSet(ViewersObservables.observeCheckedElements(this,
>>>>> Organisation.class), orgSet);
|
|
|
| Forum: Newcomers |
|---|
| Topic: Vertical Collapse of ExpandableComposite |
|---|
| Vertical Collapse of ExpandableComposite [message #500123] |
Wed, 25 November 2009 00:27 |
Murthybhat Messages: 16 Registered: July 2009 |
Junior Member |
|
|
Hello,
I have a form editor with a tree viewer in a section. I have a requirement where the user chooses to minimizes the treeviewer section. The section should be collapsed vertically [Like a palette minimize].
Is it possible to realize this requirement of having a palette like composite/section in a SWT based fom editor.
Thanks in advance for any help or suggestion.
Regards,
Bhat
|
|
|
| Topic: java class creation |
|---|
| Re: java class creation [message #500161 is a reply to message #500111 ] |
Wed, 25 November 2009 03:40 |
Dani Megert Messages: 2342 Registered: July 2009 |
Senior Member |
|
|
Brian wrote:
> Hi
>
> I'm new to eclipse, but I have managed to do this before, seem not to
> work now. I am simply trying to create a new java class
>
> I created the package and project name every ok
> then
> rt click on projectname in left menu bar, ->new->class
> fill in class name field, everything ok first letter capitalized
>
> press finish , nothing happens, wizard stays open
If you're using GTK 2.18 you might run into
https://bugs.eclipse.org/bugs/show_bug.cgi?id=291257
Dani
>
> Thanks
> Brian
>
|
|
|
| Topic: Cast from double to integer - Ganymede/Galileo |
|---|
| Re: Cast from double to integer - Ganymede/Galileo [message #500168 is a reply to message #488308 ] |
Wed, 25 November 2009 04:02 |
Rudi Messages: 5 Registered: July 2009 |
Junior Member |
|
|
Hello Eric, hello Olivier,
thank you for your fast reply.
I'm very confused now. You say that this should be fixed in 3.5.1, but I'm using Galileo Version: 3.5.1.R35 Build id: M20090917-0800 and get still this error.
Now I tried to compile the following simple class with javac in the versions 1.5.0_12 and 1.6.0_03.
public class Main {
public static void main(String[] args) {
Integer i = 2;
Double d = 1d;
i *= d;
System.out.println(i);
}
}
Both compiler versions return the following errormessage
Main.java:8: inconvertible types
found : double
required: java.lang.Integer
i *= d;
^
1 error
Does this mean, that the code is wrong and the compilers are right or vice versa.
Why can this code be compiled and executed in Eclipse Ganymede Version: 3.4.0 Build id: I20080617-2000 and in Eclipse Galileo Version: 3.5.1.R35 Build id: M20090917-0800 it can't?
Am I right assuming that eclipse brings his own compiler and I can choose just the compliancelevel. Or can I select which compiler eclipse should use, and if so, where can I set it up?
Thank you in advance,
Rudi
|
|
|
| Topic: Preference Values |
|---|
| Re: Preference Values [message #500150 is a reply to message #500117 ] |
Wed, 25 November 2009 03:33 |
Michael Golovanov Messages: 1 Registered: October 2009 |
Junior Member |
|
|
|
Do you use PreferenceIinitializer for setup default preference values?
|
|
|
| Re: Preference Values [message #500178 is a reply to message #500150 ] |
Wed, 25 November 2009 04:32 |
No Real Name Messages: 2 Registered: November 2009 |
Junior Member |
|
|
Thanks for replying.
Yes I did. It seems like the default values will only be initialized after the user 'visited' the preference page. I can read in the default values only after I visit the preference page.
Thanks again.
|
|
|
| Forum: BIRT |
|---|
| Topic: javascript: toLocaleDateString and BIRT datetime functions |
|---|
| javascript: toLocaleDateString and BIRT datetime functions [message #500154] |
Wed, 25 November 2009 03:39 |
Rafal Messages: 32 Registered: July 2009 |
Member |
|
|
Hi,
In my dynamic text field I have a script:
BirtDateTime.addDay(new Date(),-1).toLocaleDateString();
which doesn't work because of an error:
TypeError: Cannot find function toLocaleDateString in object Tue Nov 24
09:36:01 CET 2009. (<inline>#1)
It seems like addDay method doesn't really return javascript DateTime
object. Do you know how to solve this problem, or maybe have another
easy way to show yesterday's date in my locale?
Thanks,
Rafal
|
|
|
| Topic: Get DataSet values into variable |
|---|
| Re: Get DataSet values into variable [message #500179 is a reply to message #500006 ] |
Wed, 25 November 2009 04:37 |
Zoli Imre Messages: 3 Registered: November 2009 Location: Hungary |
Junior Member |
|
|
Thanx Jason!
Your suggestion was very useful. Although I managed to create the report I needed with a crosstab and some script, but I will try to create it this way too, because it's way better, and probably in the future I won't be able to make all my reports just with the basic components.
Thanx again.
|
|
|
| Forum: Rich Ajax Platform (RAP) |
|---|
| Topic: Widget is disposed (Fancy Design) |
|---|
| Re: Widget is disposed (Fancy Design) [message #500147 is a reply to message #500025 ] |
Wed, 25 November 2009 03:25 |
|
Originally posted by: niels.lippke.airpas.com
Hi Holger,
It's gone. Thanks a lot!
Br, Niels
"Holger Staudacher" <hstaudacher@eclipsesource.com> schrieb im Newsbeitrag
news:heh6ha$f9e$2@build.eclipse.org...
>I fixed this today. Please make a update. Does the error still exists with
>you version?
>
> Regards Holger
>
> On 2009-11-24 16:22:20 +0100, "Niels Lippke" <niels.lippke@airpas.com>
> said:
>
>> Hi,
>>
>> I get the following stacktrace if I run the default-app with the fancy
>> design.
>> What I did after a "fresh" start is, I opened the ConfigurationDialog,
>> selected "Filter all leafs" and clicked on "Ok" afterwards.
>>
>> org.eclipse.swt.SWTException: Widget is disposed
>> at org.eclipse.swt.SWT.error(SWT.java:2658)
>> at org.eclipse.swt.SWT.error(SWT.java:2578)
>> at org.eclipse.swt.SWT.error(SWT.java:2549)
>> at org.eclipse.swt.widgets.Widget.error(Widget.java:892)
>> at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:828)
>> at org.eclipse.swt.widgets.Shell.close(Shell.java:692)
>> at
>> org.eclipse.rap.internal.design.example.stacks.Configuration Dialog.close(ConfigurationDialog.java:129)
>
>>
>> at org.eclipse.jface.dialogs.PopupDialog$5.run(PopupDialog.java :645)
>> ...
>>
>> This time I made sure to have the latest sources from CVS. ;)
>>
>> Br, Niels
>
>
> --
> -----------------------------------------
>
> http://eclipsesource.com
>
> http://twitter.com/eclipsesource
>
|
|
|
| Topic: Redeploy RAP-Application on WebSphere and JBoss fails |
|---|
|
| Forum: M2T (model-to-text transformation) |
|---|
| Topic: [XPAND] Reader does not find UML Profile Package |
|---|
| Re: [XPAND] Reader does not find UML Profile Package [message #500153 is a reply to message #500071 ] |
Wed, 25 November 2009 03:38 |
Andre Albert Messages: 6 Registered: July 2009 |
Junior Member |
|
|
Ok sorry
afterwards i guess this was rather a stupid problem of my MWE workflow configuration.
The problem was solved setting a proper value for the platformUri attribute of the org.eclipse.emf.mwe.utils.StandaloneSetup
doing so, the reader was able to locate the profiles
|
|
|
| Topic: [Acceleo] eInverse() and other functions |
|---|
| Re: [Acceleo] eInverse() and other functions [message #500171 is a reply to message #500060 ] |
Wed, 25 November 2009 04:05 |
Laurent Goubet Messages: 401 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
--------------090905090309050804030705
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Hi Andre,
Unfortunately, the MTL specification does not provide a
"generation-free" type of block that would allow to manipulate a
variable without generating the result of this manipulation. You can
declare variables within "init sections" of some blocks (template,
query, for, ... see the specification for details). Manipulating these
variables will always generate the result :
[template test(c : EClass) {x : String = 'something';}]
[x.concat(' another')/]
[x.concat(' once more')/]
[/template]
Will generate the text : "something another\nsomething once more". As a
side note, there is no "affectation operator" in OCL. The "=" operator
is a comparison except in variable initialisation, thus there is no way
to alter the value of a primitve variable beside initialisation.
I raised an OMG issue against the specification for this ... yet
received no word from the MTL task force since then.
Laurent Goubet
Obeo
Andre wrote:
> Hi Laurent
>
> Your query really worked!! thanks a lot!
>
> can you answer one more question? is it possible on Acceleo to declare a
> String variable and manipulate it?
>
> Something like this:
> String x = "something";
> x.concat("another");
>
> thanks
--------------090905090309050804030705
Content-Type: text/x-vcard; charset=utf-8;
name="laurent_goubet.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="laurent_goubet.vcf"
YmVnaW46dmNhcmQNCmZuOkxhdXJlbnQgR291YmV0DQpuOkdvdWJldDtMYXVy ZW50DQpvcmc6
PGEgaHJlZj0iaHR0cDovL3d3dy5vYmVvLmZyIj5PYmVvPC9hPg0KZW1haWw7 aW50ZXJuZXQ6
bGF1cmVudC5nb3ViZXRAb2Jlby5mcg0KdXJsOmh0dHA6Ly93d3cub2Jlby5m cg0KdmVyc2lv
bjoyLjENCmVuZDp2Y2FyZA0KDQo=
--------------090905090309050804030705--
|
|
|
| Topic: [Acceleo] NullPointer while launching a transformation via API |
|---|
| Re: [Acceleo] NullPointer while launching a transformation via API [message #500176 is a reply to message #500061 ] |
Wed, 25 November 2009 04:23 |
Laurent Goubet Messages: 401 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
--------------070402060100060404080701
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Hi Timothy,
We currently have problems with headless builds; in short, the jdt java
compiler deletes all emtl files and we cannot recompile them anew
_after_ its passage.
Using the "export as => deployable plugins and fragment" wizard should
work as expected, yet headless builds won't work atm.
How do you export your generator projects as plugins? And could you
raise a bug with a project that presents this bug (more test cases are
always welcome)?
Laurent Goubet
Obeo
Timothy Marc wrote:
> Hi all,
>
> i figured out a NullPointerException, while i try to run a
> transformation via API from an export wizard. A weird thing is, that
> running the transformation from within the eclipse test application (run
> as -> eclipse application), it works properly, but after the
> installition of the builded plugins via update manager, i get the
> following stack trace:
>
> -----------------
> java.lang.NullPointerException
> at
> org.eclipse.core.internal.runtime.Activator.getURLConverter( Activator.java:313)
>
> at org.eclipse.core.runtime.FileLocator.toFileURL(FileLocator.j ava:205)
> at
> de.fraunhofer.fokus.testing.m2t.xml.modelplex.sap.files.Gene rateTestCase. <init>(GenerateTestCase.java:133)
>
> at
> de.fraunhofer.fokus.testing.mbttool.export.sap.wizards.SAPTe stScriptExportWizard.performFinish(SAPTestScriptExportWizard .java:90)
>
> at
> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:752)
> -----------------
>
> The code snippet looks like this:
>
> if (EMFPlugin.IS_ECLIPSE_RUNNING) {
> templateURL =
> FileLocator.toFileURL(GenerateTestCase.class.getResource(MOD ULE_FILE_NAME
> + ".emtl"));
> ....
>
>
> I'm pretty sure, that this is a Acceleo related problem, since the
> exception occurs in a generated code snippet of Acceleo.
>
> So, what's wrong with the transformation?!
>
> Cheers Timothy
>
--------------070402060100060404080701
Content-Type: text/x-vcard; charset=utf-8;
name="laurent_goubet.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="laurent_goubet.vcf"
begin:vcard
fn:Laurent Goubet
n:Goubet;Laurent
org:<a href="http://www.obeo.fr">Obeo</a>
email;internet:laurent.goubet@obeo.fr
url:http://www.obeo.fr
version:2.1
end:vcard
--------------070402060100060404080701--
|
|
|
| Topic: [xpand] Sporadic EvaluationException in xpand/xtend |
|---|
| Re: [xpand] Sporadic EvaluationException in xpand/xtend [message #500172 is a reply to message #500082 ] |
Wed, 25 November 2009 04:10 |
Christoph Kulla Messages: 24 Registered: July 2009 |
Junior Member |
|
|
Sven,
I've connected the eclipse debugger to the maven build. Below you find the callstack, the attached pictures shows the context of the exception.
Any help is highly appreciated.
Thanks
Christoph
1448715 [main] ERROR org.eclipse.xpand2.Generator - Error in Component generatorHPP of type org.eclipse.xpand2.Generator:
EvaluationException : null
com::mycompany::modeling::cpp::generator::util.ext[1676,40] on line 43 's.addAll(parameters.typeReference.type)'
com::mycompany::modeling::cpp::generator::util.ext[2053,19] on line 58 'elements.getTypes()'
com::mycompany::modeling::cpp::generator::HPP.xpt[872,10] on line 24 'cppModel.classes.select(e|e.headerFile.==(this)).getTypes() '
com::mycompany::modeling::cpp::generator::HPP.xpt[399,43] on line 11 'EXPAND HeaderFileContent(cppModel) FOR this'
com::mycompany::modeling::cpp::generator::HPP.xpt[105,63] on line 5 'EXPAND HeaderFileGEN(this) FOREACH files.typeSelect(HeaderFile)'
[23,74] on line 1 'EXPAND com::mycompany::modeling::cpp::generator::HPP::Root FOR cppModel'
Coressponding call stack:
Thread [main] (Suspended (exception EvaluationException))
AbstractExpressionsUsingWorkflowComponent$1.handleRuntimeExc eption(RuntimeException, SyntaxElement, ExecutionContext, Map<String,Object>) line: 187
XpandExecutionContextImpl(ExecutionContextImpl).handleRuntim eException(RuntimeException, SyntaxElement, Map<String,Object>) line: 376
OperationCall(Expression).evaluate(ExecutionContext) line: 57
ChainExpression.evaluateInternal(ExecutionContext) line: 39
ChainExpression(Expression).evaluate(ExecutionContext) line: 48
ChainExpression.evaluateInternal(ExecutionContext) line: 38
ChainExpression(Expression).evaluate(ExecutionContext) line: 48
LetExpression.evaluateInternal(ExecutionContext) line: 57
LetExpression(Expression).evaluate(ExecutionContext) line: 48
ExpressionExtensionStatement.evaluateInternal2(Object[], ExecutionContext) line: 58
ExpressionExtensionStatement.evaluateInternal(Object[], ExecutionContext) line: 47
ExpressionExtensionStatement(AbstractExtension).evaluate(Obj ect[], ExecutionContext) line: 162
OperationCall.evaluate(Extension, Object[], ExecutionContext) line: 343
OperationCall.evaluateInternal(ExecutionContext) line: 136
OperationCall(Expression).evaluate(ExecutionContext) line: 48
OperationCall.evaluateInternal(ExecutionContext) line: 66
OperationCall(Expression).evaluate(ExecutionContext) line: 48
ChainExpression.evaluateInternal(ExecutionContext) line: 39
ChainExpression(Expression).evaluate(ExecutionContext) line: 48
ChainExpression.evaluateInternal(ExecutionContext) line: 38
ChainExpression(Expression).evaluate(ExecutionContext) line: 48
LetExpression.evaluateInternal(ExecutionContext) line: 57
LetExpression(Expression).evaluate(ExecutionContext) line: 48
ExpressionExtensionStatement.evaluateInternal2(Object[], ExecutionContext) line: 58
ExpressionExtensionStatement.evaluateInternal(Object[], ExecutionContext) line: 47
ExpressionExtensionStatement(AbstractExtension).evaluate(Obj ect[], ExecutionContext) line: 162
OperationCall.evaluate(Extension, Object[], ExecutionContext) line: 343
OperationCall.evaluateInternal(ExecutionContext) line: 136
OperationCall(Expression).evaluate(ExecutionContext) line: 48
OperationCall.evaluateInternal(ExecutionContext) line: 60
OperationCall(Expression).evaluate(ExecutionContext) line: 48
OperationCall.evaluateInternal(ExecutionContext) line: 60
OperationCall(Expression).evaluate(ExecutionContext) line: 48
ExpandStatement.evaluateInternal(XpandExecutionContext) line: 128
ExpandStatement(Statement).evaluate(XpandExecutionContext) line: 39
Definition(AbstractDefinition).evaluate(XpandExecutionContex t) line: 175
ExpandStatement.invokeDefinition(String, Object, Object[], Type[], XpandExecutionContext) line: 195
ExpandStatement.evaluateInternal(XpandExecutionContext) line: 167
ExpandStatement(Statement).evaluate(XpandExecutionContext) line: 39
FileStatement.evaluateInternal(XpandExecutionContext) line: 83
FileStatement(Statement).evaluate(XpandExecutionContext) line: 39
Definition(AbstractDefinition).evaluate(XpandExecutionContex t) line: 175
ExpandStatement.invokeDefinition(String, Object, Object[], Type[], XpandExecutionContext) line: 195
ExpandStatement.evaluateInternal(XpandExecutionContext) line: 145
ExpandStatement(Statement).evaluate(XpandExecutionContext) line: 39
Definition(AbstractDefinition).evaluate(XpandExecutionContex t) line: 175
ExpandStatement.invokeDefinition(String, Object, Object[], Type[], XpandExecutionContext) line: 195
ExpandStatement.evaluateInternal(XpandExecutionContext) line: 167
ExpandStatement(Statement).evaluate(XpandExecutionContext) line: 39
Generator.invokeInternal2(WorkflowContext, ProgressMonitor, Issues) line: 334
Generator(AbstractExpressionsUsingWorkflowComponent).invokeI nternal(WorkflowContext, ProgressMonitor, Issues) line: 191
Generator(AbstractWorkflowComponent).invoke(WorkflowContext, ProgressMonitor, Issues) line: 124
Workflow(CompositeComponent).internalInvoke(WorkflowContext, ProgressMonitor, Issues) line: 101
Workflow(CompositeComponent).invoke(WorkflowContext, ProgressMonitor, Issues) line: 86
Workflow(CompositeComponent).internalInvoke(WorkflowContext, ProgressMonitor, Issues) line: 101
Workflow(CompositeComponent).invoke(WorkflowContext, ProgressMonitor, Issues) line: 86
Workflow(CompositeComponent).internalInvoke(WorkflowContext, ProgressMonitor, Issues) line: 101
Workflow(CompositeComponent).invoke(WorkflowContext, ProgressMonitor, Issues) line: 86
Workflow(CompositeComponent).internalInvoke(WorkflowContext, ProgressMonitor, Issues) line: 101
Workflow(CompositeComponent).invoke(WorkflowContext, ProgressMonitor, Issues) line: 86
WorkflowRunner.executeWorkflow(Map<?,?>, Issues) line: 412
WorkflowRunner.run(String, ProgressMonitor, Map<String,String>, Map<String,?>) line: 292
NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]
NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
Method.invoke(Object, Object...) line: 597
MojoWorkflowRunner.run(String, Map<String,String>, HashMap<String,Object>) line: 49
WorkflowMojo.execute() line: 319
DefaultPluginManager.executeMojo(MavenProject, MojoExecution, MavenSession) line: 483
DefaultLifecycleExecutor.executeGoals(List, Stack, MavenSession, MavenProject) line: 678
DefaultLifecycleExecutor.executeGoalWithLifecycle(String, Stack, MavenSession, Map, MavenProject, Lifecycle) line: 540
DefaultLifecycleExecutor.executeGoal(String, MavenSession, MavenProject) line: 519
DefaultLifecycleExecutor.executeGoalAndHandleFailures(String , MavenSession, MavenProject, EventDispatcher, String, ReactorManager, long, String) line: 371
DefaultLifecycleExecutor.executeTaskSegments(List, ReactorManager, MavenSession, MavenProject, EventDispatcher) line: 332
DefaultLifecycleExecutor.execute(MavenSession, ReactorManager, EventDispatcher) line: 181
DefaultMaven.doExecute(MavenExecutionRequest, EventDispatcher) line: 356
DefaultMaven.execute(MavenExecutionRequest) line: 137
MavenCli.main(String[], ClassWorld) line: 362
CompatibleMain.main(String[], ClassWorld) line: 41
NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]
NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
Method.invoke(Object, Object...) line: 597
Launcher.launchEnhanced(String[]) line: 315
Launcher.launch(String[]) line: 255
Launcher.mainWithExitCode(String[]) line: 430
Launcher.main(String[]) line: 375
|
|
|
| Re: [xpand] Sporadic EvaluationException in xpand/xtend [message #500173 is a reply to message #499861 ] |
Wed, 25 November 2009 04:11 |
Christoph Kulla Messages: 24 Registered: July 2009 |
Junior Member |
|
|
|
File was missing in previous post.
|
|
|
| Re: [xpand] Sporadic EvaluationException in xpand/xtend [message #500181 is a reply to message #500173 ] |
Wed, 25 November 2009 04:44 |
Sven Efftinge Messages: 507 Registered: July 2009 |
Senior Member |
|
|
It still is. :-)
Christoph Kulla schrieb:
> File was missing in previous post.
--
Need professional support for Xtext and EMF?
Go to: http://xtext.itemis.com
|
|
|
| Re: [xpand] Sporadic EvaluationException in xpand/xtend [message #500184 is a reply to message #500172 ] |
Wed, 25 November 2009 04:49 |
Sven Efftinge Messages: 507 Registered: July 2009 |
Senior Member |
|
|
Please provide the stack trace of the handled RuntimeException.
Maybe, you want to contact me via skype, so we can hunt that bug down.
Skype name is : svenefftinge
Thanks,
Sven
Christoph Kulla schrieb:
>
> 1448715 [main] ERROR org.eclipse.xpand2.Generator - Error in
> Component generatorHPP of type org.eclipse.xpand2.Generator:
> EvaluationException : null
> com::mycompany::modeling::cpp::generator::util.ext[1676,40] on
> line 43 's.addAll(parameters.typeReference.type)'
> com::mycompany::modeling::cpp::generator::util.ext[2053,19] on
> line 58 'elements.getTypes()'
> com::mycompany::modeling::cpp::generator::HPP.xpt[872,10] on line
> 24 'cppModel.classes.select(e|e.headerFile.==(this)).getTypes() '
> com::mycompany::modeling::cpp::generator::HPP.xpt[399,43] on line
> 11 'EXPAND HeaderFileContent(cppModel) FOR this'
> com::mycompany::modeling::cpp::generator::HPP.xpt[105,63] on line
> 5 'EXPAND HeaderFileGEN(this) FOREACH files.typeSelect(HeaderFile)'
> [23,74] on line 1 'EXPAND
> com::mycompany::modeling::cpp::generator::HPP::Root FOR cppModel'
>
> Coressponding call stack:
>
> Thread [main] (Suspended (exception EvaluationException))
> AbstractExpressionsUsingWorkflowComponent$1.handleRuntimeExc
> eption(RuntimeException, SyntaxElement, ExecutionContext,
> Map<String,Object>) line: 187
> XpandExecutionContextImpl(ExecutionContextImpl).handleRuntim
> eException(RuntimeException, SyntaxElement, Map<String,Object>) line:
> 376
> OperationCall(Expression).evaluate(ExecutionContext) line: 57
> ChainExpression.evaluateInternal(ExecutionContext) line: 39
> ChainExpression(Expression).evaluate(ExecutionContext) line: 48
> ChainExpression.evaluateInternal(ExecutionContext) line: 38
> ChainExpression(Expression).evaluate(ExecutionContext) line: 48
> LetExpression.evaluateInternal(ExecutionContext) line: 57
> LetExpression(Expression).evaluate(ExecutionContext) line: 48
> ExpressionExtensionStatement.evaluateInternal2(Object[],
> ExecutionContext) line: 58
> ExpressionExtensionStatement.evaluateInternal(Object[],
> ExecutionContext) line: 47
> ExpressionExtensionStatement(AbstractExtension).evaluate(Obj ect[],
> ExecutionContext) line: 162
> OperationCall.evaluate(Extension, Object[], ExecutionContext) line:
> 343
> OperationCall.evaluateInternal(ExecutionContext) line: 136
> OperationCall(Expression).evaluate(ExecutionContext) line: 48
> OperationCall.evaluateInternal(ExecutionContext) line: 66
> OperationCall(Expression).evaluate(ExecutionContext) line: 48
> ChainExpression.evaluateInternal(ExecutionContext) line: 39
> ChainExpression(Expression).evaluate(ExecutionContext) line: 48
> ChainExpression.evaluateInternal(ExecutionContext) line: 38
> ChainExpression(Expression).evaluate(ExecutionContext) line: 48
> LetExpression.evaluateInternal(ExecutionContext) line: 57
> LetExpression(Expression).evaluate(ExecutionContext) line: 48
> ExpressionExtensionStatement.evaluateInternal2(Object[],
> ExecutionContext) line: 58
> ExpressionExtensionStatement.evaluateInternal(Object[],
> ExecutionContext) line: 47
> ExpressionExtensionStatement(AbstractExtension).evaluate(Obj ect[],
> ExecutionContext) line: 162
> OperationCall.evaluate(Extension, Object[], ExecutionContext) line:
> 343
> OperationCall.evaluateInternal(ExecutionContext) line: 136
> OperationCall(Expression).evaluate(ExecutionContext) line: 48
> OperationCall.evaluateInternal(ExecutionContext) line: 60
> OperationCall(Expression).evaluate(ExecutionContext) line: 48
> OperationCall.evaluateInternal(ExecutionContext) line: 60
> OperationCall(Expression).evaluate(ExecutionContext) line: 48
> ExpandStatement.evaluateInternal(XpandExecutionContext) line: 128
> ExpandStatement(Statement).evaluate(XpandExecutionContext) line: 39
> Definition(AbstractDefinition).evaluate(XpandExecutionContex t)
> line: 175
> ExpandStatement.invokeDefinition(String, Object, Object[], Type[],
> XpandExecutionContext) line: 195
> ExpandStatement.evaluateInternal(XpandExecutionContext) line: 167
> ExpandStatement(Statement).evaluate(XpandExecutionContext) line: 39
> FileStatement.evaluateInternal(XpandExecutionContext) line: 83
> FileStatement(Statement).evaluate(XpandExecutionContext) line: 39
> Definition(AbstractDefinition).evaluate(XpandExecutionContex t)
> line: 175
> ExpandStatement.invokeDefinition(String, Object, Object[], Type[],
> XpandExecutionContext) line: 195
> ExpandStatement.evaluateInternal(XpandExecutionContext) line: 145
> ExpandStatement(Statement).evaluate(XpandExecutionContext) line: 39
> Definition(AbstractDefinition).evaluate(XpandExecutionContex t)
> line: 175
> ExpandStatement.invokeDefinition(String, Object, Object[], Type[],
> XpandExecutionContext) line: 195
> ExpandStatement.evaluateInternal(XpandExecutionContext) line: 167
> ExpandStatement(Statement).evaluate(XpandExecutionContext) line: 39
> Generator.invokeInternal2(WorkflowContext, ProgressMonitor, Issues)
> line: 334
> Generator(AbstractExpressionsUsingWorkflowComponent).invokeI
> nternal(WorkflowContext, ProgressMonitor, Issues) line: 191
> Generator(AbstractWorkflowComponent).invoke(WorkflowContext,
> ProgressMonitor, Issues) line: 124
> Workflow(CompositeComponent).internalInvoke(WorkflowContext,
> ProgressMonitor, Issues) line: 101
> Workflow(CompositeComponent).invoke(WorkflowContext,
> ProgressMonitor, Issues) line: 86
> Workflow(CompositeComponent).internalInvoke(WorkflowContext,
> ProgressMonitor, Issues) line: 101
> Workflow(CompositeComponent).invoke(WorkflowContext,
> ProgressMonitor, Issues) line: 86
> Workflow(CompositeComponent).internalInvoke(WorkflowContext,
> ProgressMonitor, Issues) line: 101
> Workflow(CompositeComponent).invoke(WorkflowContext,
> ProgressMonitor, Issues) line: 86
> Workflow(CompositeComponent).internalInvoke(WorkflowContext,
> ProgressMonitor, Issues) line: 101
> Workflow(CompositeComponent).invoke(WorkflowContext,
> ProgressMonitor, Issues) line: 86
> WorkflowRunner.executeWorkflow(Map<?,?>, Issues) line: 412
> WorkflowRunner.run(String, ProgressMonitor, Map<String,String>,
> Map<String,?>) line: 292
> NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not
> available [native method]
> NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
> DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
> Method.invoke(Object, Object...) line: 597
> MojoWorkflowRunner.run(String, Map<String,String>,
> HashMap<String,Object>) line: 49
> WorkflowMojo.execute() line: 319
> DefaultPluginManager.executeMojo(MavenProject, MojoExecution,
> MavenSession) line: 483
> DefaultLifecycleExecutor.executeGoals(List, Stack, MavenSession,
> MavenProject) line: 678
> DefaultLifecycleExecutor.executeGoalWithLifecycle(String, Stack,
> MavenSession, Map, MavenProject, Lifecycle) line: 540
> DefaultLifecycleExecutor.executeGoal(String, MavenSession,
> MavenProject) line: 519
> DefaultLifecycleExecutor.executeGoalAndHandleFailures(String ,
> MavenSession, MavenProject, EventDispatcher, String, ReactorManager,
> long, String) line: 371
> DefaultLifecycleExecutor.executeTaskSegments(List, ReactorManager,
> MavenSession, MavenProject, EventDispatcher) line: 332
> DefaultLifecycleExecutor.execute(MavenSession, ReactorManager,
> EventDispatcher) line: 181
> DefaultMaven.doExecute(MavenExecutionRequest, EventDispatcher) line:
> 356
> DefaultMaven.execute(MavenExecutionRequest) line: 137
> MavenCli.main(String[], ClassWorld) line: 362
> CompatibleMain.main(String[], ClassWorld) line: 41
> NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not
> available [native method]
> NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
> DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
> Method.invoke(Object, Object...) line: 597
> Launcher.launchEnhanced(String[]) line: 315
> Launcher.launch(String[]) line: 255
> Launcher.mainWithExitCode(String[]) line: 430
> Launcher.main(String[]) line: 375
>
--
Need professional support for Xtext and EMF?
Go to: http://xtext.itemis.com
|
|
|
| Forum: Buckminster |
|---|
| Topic: Hudson-Buckminster No suitable provider |
|---|
| Re: Hudson-Buckminster No suitable provider [message #500124 is a reply to message #499949 ] |
Wed, 25 November 2009 01:03 |
Thomas Hallgren Messages: 1453 Registered: July 2009 |
Senior Member |
|
|
On 2009-11-24 16:06, Johannes Utzig wrote:
> TW schrieb:
>> Hi I just visited the issue tracer to add the bug. Unfortunately there
>> is no option for me to generate a new issue I can only view existing
>> issues.
>> Could you possible add the bug to the issue tracer or tell me where I
>> can generate a new issue?
>>
>> Regards, TW
>
> Well, the plugin writes a correct path to the commands.txt file:
> import C:\hudson\jobs\rcp_target\workspace\com.example.target\targe t.mspec
>
It's a correct path according to a Windows cmd.exe. It's *not* a correct path in terms of the Buckminster shell that
interprets the script file. This shell is like a Linux/Unix shell and will use '\' as the escape character. The correct
path should read:
import C:\\hudson\\jobs\\rcp_target\\workspace\\com.example.target\ \target.mspec
This information is missing in the documentation. I'll add a bugzilla for that.
Regards,
Thomas Hallgren
|
|
|