1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-30 21:55:31 +02:00
Commit graph

52 commits

Author SHA1 Message Date
Jonah Graham
ffec5f9534 Add legal docs as required by Eclipse Foundation Project Handbook
See https://www.eclipse.org/projects/handbook/#legaldoc-license
and https://www.eclipse.org/projects/tools/documentation.php?id=tools.cdt
2019-12-17 15:15:32 -05:00
Jonah Graham
f60043ff00 Bug 553232: Update to EPLv2 2019-11-19 16:16:10 -05:00
Jonah Graham
be17de804b Bug 553233: Apply code cleanliness rules 2019-11-19 16:16:10 -05:00
Jonah Graham
d8e577d154 Bug 552481: Expose error when wizard fails
An example of a failure that used to be buried in the log is a project
that failed to be created due to different case resource exception.

Change-Id: I513f0dbd36bbb116a5c7de296f7459d200d65af5
2019-11-13 13:42:22 -05:00
Jonah Graham
59b8262ea5 [releng] Update to stable platform repo URL
Change-Id: I7e0b3ee255259272f4b339d9e07bc473250208be
2019-11-13 13:39:49 -05:00
Jonah Graham
1d4e938383 [releng] Bump version number to 1.1.2
Also add some consistency to version numbers.

Change-Id: Idc0eda9f1609deaa870482433906f00138fac1b2
2019-07-08 20:26:48 -04:00
Jonah Graham
9dd28fadbb [releng] Update target platform to latest dependencies
Change-Id: Iebdbc4caf1e3f2235e6f504b83b2be17282a3b88
2019-07-08 20:26:19 -04:00
Jonah Graham
4af6611113 [releng] Update to tycho 1.4
Change-Id: I787b6b0d6fdc06edb9a79fc2318f3d4d86b2e067
2019-07-08 20:05:00 -04:00
William Riley
dc437804a2 Bug 542644 - Add fragment for Java 11 JAXB dependencies
Allows org.eclipse.tools.templates.freemarker to work on both Java 8 &
Java 11.

Need to use Tycho 1.3.0 to allow this to build

Change-Id: I12287dec5acada2afa7130a15129598d41120cf6
2018-12-11 11:33:11 +00:00
Jonah Graham
4df497d908 Revert "Remove the Import-Package now that we depend on com.sun.xml.bind"
This reverts commit 6847dafb3c.

Change-Id: I9bd12f981949e0e670e351fd034567b0ffa4a93c
2018-12-10 16:17:52 -05:00
Doug Schaefer
6847dafb3c Remove the Import-Package now that we depend on com.sun.xml.bind
The package import was actually causing grief in our downstream
tests. Appears to really confuse equinox, or more likely myself,
and cause the java.xml classes to get loaded differently causing a
bizarre error.

Change-Id: I12f80f335a40b11e2f600dc67ff0a0d5e13eecc7
2018-11-13 11:34:09 -05:00
Marc-Andre Laperle
5baff6e9b6 Bug 536316 - ClassNotFoundException: javax.xml.bind.JAXBException
This class is gone in Java 11. Instead use the one from Orbit. Also, this used
com.sun.xml.internal.bind.v2.ContextFactory which is also gone so we have to
directly use com.sun.xml.bind.v2.ContextFactory also from Orbit.

Change-Id: I808ebe5a6ade19e86d4c31f2f2789063dc3bf3b4
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-11-01 22:10:26 -04:00
Marc-Andre Laperle
0499fb37f4 Fix update sites to more recent, existing ones
Change-Id: Iddde79fd1b6c8c9f1322c7f17ba40892d871fcf0
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-11-01 22:05:33 -04:00
Jonah Graham
c7881b5a98 Bug 535239: [releng] Update versions
- dependency of orbit version updated to Photon M7 (and remove direct
  build against orbit-recipes Jenkins)
- build against Photon platform (instead of simrel) to reduce any circular
  dependency issues
- fix tycho-pomless version
- update tools.templates to be 1.1.0
- Set zip file name to be standard naming scheme CDT uses

Change-Id: If075e623317c9ac87df2cf67024cf6c35298c3f4
2018-05-28 23:08:41 +01:00
Alexander Kurtakov
3bcef21c1d Update Maven build.
Update findbugs and pmd maven plugins to latest version. Set the Maven
prereq to 3.3.1 for CBI 1.1.4.

Change-Id: I59d5a7eeff1cd2d378eb362141433818ea8fec0a
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-02-08 20:42:45 +02:00
Alexander Kurtakov
d7958ccde5 Build against Oxygen.
Like the rest of CDT stack.

Change-Id: I4734020e5455eacac9a3eaadd68ec2bf38183b3b
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-02-08 20:06:26 +02:00
Alexander Kurtakov
95343d6e17 Build with Tycho 1.1.0 and CBI 1.1.4.
Tycho 1.1 is a prereq for building against Photon.

Change-Id: I01f0d947786244d08c6caf4de6ba1e01aa1292ad
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-02-08 18:02:21 +02:00
Doug Schaefer
b7cecf0b4a Fix spacing of Template Table.
When the text became larger than the icon, the text was
cut off. We were starting the text at the top of the icon
instead of the top of the box.

Change-Id: Ia7e759e91a426c34a38bd2594e1310316275a106
2017-11-27 13:41:14 -05:00
Doug Schaefer
4fd563a35d Oops, lost the UI plugin.
Change-Id: Ibc8e799485abad4736328a4f47696bfe02cac098
2017-11-21 12:17:14 -05:00
Doug Schaefer
6ada5acafe Releng clean up, especially names, and pomless.
Also added source bundles to the repo.

Change-Id: I18a86922452c1459969c1ab3b2239e588e48d4d7
2017-11-21 12:07:38 -05:00
Doug Schaefer
3d04ec0c94 Add id to table items so SWTBot tests can find them.
Change-Id: I6f7f878af357b21fa6f07d2d35643f0c6490e97a
2017-10-04 20:20:18 -04:00
Chin Huat Ang
db4acb2bb5 Bug 525539: show template label and description even if icon is missing
When a template doesn't specify an icon, gracefully skip drawing icon
and assume image height of 48 pixel for drawing template label and
description.

Change-Id: I3cd19b33be11af94ae68c3d119899939ec9a32d3
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2017-10-04 20:37:39 +08:00
Alexander Kurtakov
0435f27589 Update build machinery.
* Tycho 0.26.0 -> 1.0.0
* Resources 2.7 -> 3.0.2
* Findbugs 3.0.3 -> 3.0.4
* PMD 3.6 -> 3.7

Change-Id: Ia5fd89eb219761b2a1adb6f41c3c0de867f16eec
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-02-14 11:26:58 +02:00
Doug Schaefer
8b8a9babc5 Add API to select a template. Also some progress monitor cleanup.
Change-Id: Ic1070fff49ee352c1ab0ccd11fa12cab36e602e3
2017-01-31 20:49:32 -05:00
Doug Schaefer
b6038873b1 Upversion templates UI plug-in for maintenance release.
Change-Id: I56893d9d4c183109c911bd00e61363c9b3fab8d1
2016-12-05 14:52:39 -05:00
Doug Schaefer
38433e4517 Fix Next button when template is deselected with new tag selection.
Also try and keep the selection when the tag is changed.

Change-Id: Ib676baf5021ccbc160076e3800c01df8f023e02e
2016-12-05 13:59:11 -05:00
Doug Schaefer
5d1e1347a5 Fix the cases where the item text outgrows the icons.
Makes sure the item height is big enough.

Change-Id: I2a218f590795cd9c08a1627d32f691e12d5b14b9
2016-11-03 16:21:45 -04:00
Doug Schaefer
11ccb83e9f Merge "Add setting of descriptions to the template selection page." 2016-09-21 11:21:39 -04:00
Doug Schaefer
690559effb Add setting of descriptions to the template selection page.
Change-Id: I4ea25acfac4246acd2bec10c5d94e05d3e9d8ac9
2016-09-21 11:18:21 -04:00
Alexander Kurtakov
6f34dc60b0 Build with Tycho 0.26.
This Tycho version uses Neon final bits of its dependencies.

Change-Id: If0e0f1c0ae1e857bfaec805e5bd7c141731813f2
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-08-23 23:02:56 +03:00
Doug Schaefer
379656e1be Sort the templates by label to make the list look nicer.
Change-Id: I510f8267d3bd5457c42f9f5942b9fbbcb5fc4bf2
2016-08-10 16:29:48 -04:00
Doug Schaefer
370fd2ecf2 Fix Tag selection in the selection page.
Change-Id: Ib8c67d1bddd6c4a963ccc0f89b46218ecc18173b
2016-07-19 16:48:57 -04:00
Doug Schaefer
587cb567e9 Provide a New Wizard class for the Template Selection page.
Makes the TemplateWizard class now manditory as the parent for
template wizards.

Change-Id: I52ec2a1ba130ac00b9a0294bdd15beeff5ed2c1c
2016-07-19 15:58:30 -04:00
Doug Schaefer
6848810854 Clean up the API around the build model.
Eventually we want to get rid of it.

Also expose the internal packages. Need them for UI testing in
clients to get at the Template object.

Change-Id: I049f4173cfff86ec398e5e8586c8760c6e1a681a
2016-07-14 16:39:06 -04:00
Doug Schaefer
7dd2ff7e92 Merge "Fix build." 2016-07-07 13:39:55 -04:00
Doug Schaefer
3262273c3d Fix build. 2016-07-07 13:37:40 -04:00
Doug Schaefer
0392cb79b3 Deprecate model from IGenerator API.
Not all generators need a map to store information used at generate
time. In fact, this probably should be discouraged. We only had it
because Freemarker uses one. But I just wrote a generator that doesn't
use Freemaker and the model map got in the way.

Also adds a post process API so we can do other things in the Wizard
after the generation is done. Especially useful for UI things like
adding generated stuff to Working Sets.

Change-Id: Icd553fd8f6087bd342fca4aec88fb2a5c2d5fa4a
2016-07-07 13:31:51 -04:00
Doug Schaefer
96f4db4667 Deprecate model from IGenerator API.
Not all generators need a map to store information used at generate
time. In fact, this probably should be discouraged. We only had it
because Freemarker uses one. But I just wrote a generator that doesn't
use Freemaker and the model map got in the way.

Also adds a post process API so we can do other things in the Wizard
after the generation is done. Especially useful for UI things like
adding generated stuff to Working Sets.

Change-Id: Icd553fd8f6087bd342fca4aec88fb2a5c2d5fa4a
2016-07-07 10:32:18 -04:00
Doug Schaefer
48bd2adbd6 Implement getFilesToOpen. 2016-06-28 11:23:26 -04:00
Tim Orling
d51620ecd7 Update root pom.xml to Neon
Change-Id: Ib1ff3d143a6f4661b1322e2a73223948c358dbd9
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
2016-06-20 13:13:53 -07:00
Tim Orling
cfaa75ae37 schema should be in build
Change-Id: I282cfef063390fd99dc0394692bf9df67684eda4
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
2016-06-20 13:07:33 -07:00
Alexander Kurtakov
e87ce036eb Update Maven build machinery.
Change-Id: I154c82d1147f8c7f5144ee90270c38046bd7f1cf
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-05-17 13:50:16 +03:00
Doug Schaefer
476b60a0ca Add core plugin to repo.
Change-Id: I69f4cfbfa62e56215471945721d3013a73a831f3
2016-04-28 11:18:08 -04:00
Doug Schaefer
896a160c7d New core plug-in and clean up API of generator.
Change-Id: Ifdfa47f31b34aafa07ee860e4e73201a00808677
2016-04-27 16:49:31 -04:00
Doug Schaefer
5917bd9534 Clean up API around getting Bundles to find template files. 2016-04-23 21:13:53 -04:00
Doug Schaefer
af4fd8ed84 Allow initProjectDescription to throw CoreExceptions. 2016-04-19 19:41:26 -04:00
Doug Schaefer
01457cd945 Update buttons on wizard when template selection changes. 2016-03-22 13:06:49 -04:00
Doug Schaefer
2dcb171369 Give project generators more control over project descriptors. 2016-02-22 21:07:57 -05:00
Doug Schaefer
93d8073c03 Copyrights maybe? 2016-02-21 03:22:32 -05:00
Doug Schaefer
211a88d3d7 Added Maven build files. 2016-02-20 12:15:17 -05:00