Exporting a Sapphire plugin [message #762110] |
Wed, 07 December 2011 15:08 |
Roded Bahat Messages: 152 Registered: August 2011 |
Senior Member |
|
|
Hello,
I'm at the point where I would like to export my Sapphire plugin and install it on a client's Eclipse installation.
I'm a bit confused regarding the correct way to do this so Sapphire is supported by the client installation:
Is this something that is done by customBuildCallbacks.xml? Or is the client required to install the Sapphire plugins separately.
Pardon the triviality if that is the case.
Thanks a lot,
Roded
[Updated on: Thu, 08 December 2011 17:13] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
Re: Exporting an Sapphire plugin [message #762757 is a reply to message #762752] |
Thu, 08 December 2011 15:29 |
Roded Bahat Messages: 152 Registered: August 2011 |
Senior Member |
|
|
The following error occurred while executing this line:
C:\Users\rodedb\Desktop\Roded\Workspaces\plugin_workspace\com.modelity.eclipse.structures.sapphire.report\build.xml:408: The following error occurred while executing this line:
C:\Users\rodedb\Desktop\Roded\Workspaces\plugin_workspace\com.modelity.eclipse.structures.sapphire.report\build.xml:325: The following error occurred while executing this line:
C:\Users\rodedb\Desktop\Roded\Workspaces\plugin_workspace\com.modelity.eclipse.structures.sapphire.report\customBuildCallbacks.xml:54: The following error occurred while executing this line:
C:\Users\rodedb\Desktop\Roded\Workspaces\plugin_workspace\com.modelity.eclipse.structures.sapphire.report\customBuildCallbacks.xml:83: The following error occurred while executing this line:
C:\Users\rodedb\Desktop\Roded\Workspaces\plugin_workspace\com.modelity.eclipse.structures.sapphire.report\customBuildCallbacks.xml:129: Problem: failed to create task or type var
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
(posted instead of previewed..)
I'm getting the above error. It's the same error that resulted in using the original customBuildCallbacks.xml.
Any idea what might be wrong?
Thanks
Edit: I'm guessing manifestclasspath is failing for some reason due to the classpath..
[Updated on: Thu, 08 December 2011 15:34] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Exporting an Sapphire plugin [message #763541 is a reply to message #763360] |
Sat, 10 December 2011 00:04 |
Roded Bahat Messages: 152 Registered: August 2011 |
Senior Member |
|
|
Using javac 1.6.0_26 (jdk associated with the sapphire project).
At the moment I have the following files in the src folder.
The uncommented @XmlElementBinding in IXSDValue is the culprit, after commenting it out export works fine.
Is there anything relevant regarding a correct directory structure?
package com.modelity.eclipse.structures.sapphire.report;
import org.eclipse.sapphire.modeling.IModelElement;
import org.eclipse.sapphire.modeling.ModelElementType;
import org.eclipse.sapphire.modeling.annotations.GenerateImpl;
@GenerateImpl
public interface IValue extends IModelElement {
ModelElementType TYPE = new ModelElementType(IValue.class);
}
package com.modelity.eclipse.structures.sapphire.report;
import org.eclipse.sapphire.modeling.ModelElementType;
import org.eclipse.sapphire.modeling.Value;
import org.eclipse.sapphire.modeling.ValueProperty;
import org.eclipse.sapphire.modeling.annotations.GenerateImpl;
@GenerateImpl
//@Label(standard = "Constant")
public interface IXSDConstant extends IValue
{
ModelElementType TYPE = new ModelElementType( IXSDConstant.class );
// *** Constant ***
// @Label(standard = "Constant")
// @CustomXmlValueBinding(impl = ValueNoBinder.class)
ValueProperty PROP_CONSTANT = new ValueProperty(TYPE, "Constant");
Value<String> getConstant();
void setConstant(String value);
}
package com.modelity.eclipse.structures.sapphire.report;
import org.eclipse.sapphire.modeling.ElementProperty;
import org.eclipse.sapphire.modeling.IModelElement;
import org.eclipse.sapphire.modeling.ModelElementHandle;
import org.eclipse.sapphire.modeling.ModelElementType;
import org.eclipse.sapphire.modeling.annotations.GenerateImpl;
import org.eclipse.sapphire.modeling.annotations.Label;
import org.eclipse.sapphire.modeling.annotations.Required;
import org.eclipse.sapphire.modeling.annotations.Type;
import org.eclipse.sapphire.modeling.xml.annotations.XmlElementBinding;
@GenerateImpl
public interface IXSDValue extends IModelElement
{
ModelElementType TYPE = new ModelElementType(IXSDValue.class);
// *** Value ***
@Required
@Label(standard = "Value")
@Type (base = IValue.class,
possible = {
// IXSDSearchPattern.class,
// IXSDList.class,
IXSDConstant.class
// IXSDParameterReference.class,
// IXSDFieldReference.class,
// IXSDFormat.class,
// IXSDChoice.class
}
)
@XmlElementBinding( mappings = @XmlElementBinding.Mapping( element = "constant", type = IXSDConstant.class ))
// @XmlElementBinding (
// mappings = {
// @XmlElementBinding.Mapping( element = "searchPattern", type = IXSDSearchPattern.class ),
//// @XmlElementBinding.Mapping( element = "list", type = IXSDList.class ),
// @XmlElementBinding.Mapping( element = "constant", type = IXSDConstant.class ),
// @XmlElementBinding.Mapping( element = "parameter", type = IXSDParameterReference.class ),
// @XmlElementBinding.Mapping( element = "field", type = IXSDFieldReference.class ),
//// @XmlElementBinding.Mapping( element = "format", type = IXSDFormat.class ),
// @XmlElementBinding.Mapping( element = "choice", type = IXSDChoice.class )
// }
// )
ElementProperty PROP_VALUE = new ElementProperty(TYPE, "Value");
ModelElementHandle<IValue> getValue();
}
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07671 seconds