Open eclipse-qvtd-bot opened 1 week ago
By Ed Willink on May 31, 2016 04:12
Most of the problems go away when the Java/Class values are typically .../src-gen and .../bin without subsequent detail, and when a default project eliminates the need for prefix as well.
Re-enabled with a plausible QVTc and QVTr launch example for RC3.
By Ed Willink on Mar 23, 2017 05:39
A specific problem occurs for the manual choice of names for testQVTcCompiler_Families2Persons_CG
java.lang.ClassNotFoundException: E:\GIT\org.eclipse.qvtd\tests\org.eclipse.qvtd.xtext.qvtcore.tests\bin\org\eclipse\qvtd\xtext\qvtcore\tests\families2persons\Families2Persons.class (The system cannot find the file specified)\ \ since org.eclipse.qvtd.xtext.qvtcore.tests.families2persons.Families2Persons is also the name of a middle model package name.
This problem is suppressed by imposing a "cg." prefix for the tx class.
By Ed Willink on Apr 01, 2017 11:00
Another specific problem occurs for
import '../../../../../../../../../../org.eclipse.qvtd.pivot.qvtrelation/model/QVTrelation.ecore#P-qvtrelation'; ...\ transformation org::eclipse::qvtd::xtext::qvtrelation::tests::atl2qvtr::ATL2QVTr ...\ new:qvtr relTx : qvtrelation::RelationalTransformation[1];
The reference to "qvtrelation" could be:
The wrong one is used.
| --- | --- | | Bugzilla Link | 486938 | | Status | NEW | | Importance | P3 normal | | Reported | Feb 01, 2016 10:39 EDT | | Modified | Apr 01, 2017 11:00 EDT | | Reporter | Ed Willink |
Description
The new launch dialog offers a free choice of Java file path based on the original Tx file path, which may or may not be correlated with an original Tx pivot-Package path. Probably not since the pivotPackage path is relatively new.
Since these two conflict; the launch temporarily disables the Java aspects.
Suggest:
The default Java folder should be the first classpath of the JavaProject, with the class file its corresponding binary folder. Within those folders the filename should be the pivotPackage/Class path suffixed by .java/.class.
This probably requires a minor revision of the Tx chain to support pivot-Package-paths correctly.
Since there are many paths in the dialog, treat blank as an entry/persistence default so that changes to a source propagate. Perhaps italics when the default.