Commit f54aa5f5ddbdb9008d4f7f00396f046d725109ed
1 parent
b186a9b614
Exists in
master
and in
1 other branch
"Modif feature.xml and GenerateAll.java"
Showing 29 changed files with 135 additions and 5 deletions Side-by-side Diff
- fr.femtost.disc.eclipse.sysml2vhdlams.acceleo/src/fr/femtost/disc/eclipse/sysml2vhdlams/acceleo/common/GenerateAll.java
- fr.femtost.disc.sysml2vhdlams.feature/feature.xml
- fr.femtost.disc.sysml2vhdlams.updatesite/artifacts.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/content.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/features/fr.femtost.disc.sysml2vhdlams.feature_1.0.0.201404231706.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/features/fr.femtost.disc.sysml2vhdlams.feature_1.0.0.201404241015.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.problemmetamodel_1.0.0.201404231706.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.problemmetamodel_1.0.0.201404241015.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2problem.atl_1.0.0.201404231706.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2problem.atl_1.0.0.201404241015.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2problem.ui_1.0.0.201404231706.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2problem.ui_1.0.0.201404241015.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2vhdlams.acceleo_1.0.0.201404231706.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2vhdlams.acceleo_1.0.0.201404241015.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2vhdlams.atl_1.0.0.201404231706.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2vhdlams.atl_1.0.0.201404241015.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2vhdlams.ui_1.0.0.201404231706.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2vhdlams.ui_1.0.0.201404241015.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamslibrary.ui_1.0.0.201404231706.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamslibrary.ui_1.0.0.201404241015.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamslibrary_1.0.0.201404231706.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamslibrary_1.0.0.201404241015.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamsmetamodel.edit_1.0.0.201404231706.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamsmetamodel.edit_1.0.0.201404241015.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamsmetamodel.editor_1.0.0.201404231706.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamsmetamodel.editor_1.0.0.201404241015.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamsmetamodel_1.0.0.201404231706.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamsmetamodel_1.0.0.201404241015.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/site.xml
fr.femtost.disc.eclipse.sysml2vhdlams.acceleo/src/fr/femtost/disc/eclipse/sysml2vhdlams/acceleo/common/GenerateAll.java
View file @
f54aa5f
... | ... | @@ -15,6 +15,7 @@ |
15 | 15 | import java.util.List; |
16 | 16 | import org.eclipse.emf.common.util.BasicMonitor; |
17 | 17 | import org.eclipse.core.resources.IContainer; |
18 | +import org.eclipse.core.runtime.IPath; | |
18 | 19 | import org.eclipse.core.runtime.IProgressMonitor; |
19 | 20 | import org.eclipse.emf.common.util.URI; |
20 | 21 | |
... | ... | @@ -39,6 +40,9 @@ |
39 | 40 | */ |
40 | 41 | List<? extends Object> arguments; |
41 | 42 | |
43 | + private IPath targetFolderPath; | |
44 | + private IPath targetFolderPathFull; | |
45 | + | |
42 | 46 | /** |
43 | 47 | * Constructor. |
44 | 48 | * |
... | ... | @@ -56,6 +60,8 @@ |
56 | 60 | this.modelURI = modelURI; |
57 | 61 | this.targetFolder = targetFolder; |
58 | 62 | this.arguments = arguments; |
63 | + this.targetFolderPath = this.targetFolder.getLocation().addTrailingSeparator().append("code-gen"); | |
64 | + this.targetFolderPathFull = this.targetFolder.getLocation().addTrailingSeparator().append("code-gen"); | |
59 | 65 | } |
60 | 66 | |
61 | 67 | /** |
... | ... | @@ -68,8 +74,8 @@ |
68 | 74 | * @generated |
69 | 75 | */ |
70 | 76 | public void doGenerate(IProgressMonitor monitor) throws IOException { |
71 | - if (!targetFolder.getLocation().toFile().exists()) { | |
72 | - targetFolder.getLocation().toFile().mkdirs(); | |
77 | + if (!targetFolderPath.toFile().exists()) { | |
78 | + targetFolderPath.toFile().mkdirs(); | |
73 | 79 | } |
74 | 80 | |
75 | 81 | // final URI template0 = getTemplateURI("fr.femto.topcased.sysml2vhdlams.acceleo", new Path("/fr/femto/topcased/sysml2vhdlams/acceleo/common/sysml2vhdlamsfile.emtl")); |
fr.femtost.disc.sysml2vhdlams.feature/feature.xml
View file @
f54aa5f
... | ... | @@ -13,8 +13,132 @@ |
13 | 13 | [Enter Copyright Description here.] |
14 | 14 | </copyright> |
15 | 15 | |
16 | - <license url="http://www.example.com/license"> | |
17 | - [Enter License Description here.] | |
16 | + <license url="http://www.eclipse.org/org/documents/epl-v10.html"> | |
17 | + | |
18 | +Eclipse Foundation Software User Agreement | |
19 | +February 1, 2011 | |
20 | + | |
21 | +Usage Of Content | |
22 | + | |
23 | +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR | |
24 | +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT"). | |
25 | +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS | |
26 | +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR | |
27 | +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU | |
28 | +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT | |
29 | +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS | |
30 | +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE | |
31 | +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS | |
32 | +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED | |
33 | +BELOW, THEN YOU MAY NOT USE THE CONTENT. | |
34 | + | |
35 | +Applicable Licenses | |
36 | + | |
37 | +Unless otherwise indicated, all Content made available by the | |
38 | +Eclipse Foundation is provided to you under the terms and conditions of | |
39 | +the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is | |
40 | +provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. | |
41 | +For purposes of the EPL, "Program" will mean the Content. | |
42 | + | |
43 | +Content includes, but is not limited to, source code, object code, | |
44 | +documentation and other files maintained in the Eclipse Foundation source code | |
45 | +repository ("Repository") in software modules ("Modules") and made available | |
46 | +as downloadable archives ("Downloads"). | |
47 | + | |
48 | +- Content may be structured and packaged into modules to facilitate delivering, | |
49 | +extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), | |
50 | +plug-in fragments ("Fragments"), and features ("Features"). | |
51 | +- Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive) | |
52 | +in a directory named "plugins". | |
53 | +- A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. | |
54 | +Each Feature may be packaged as a sub-directory in a directory named "features". | |
55 | +Within a Feature, files named "feature.xml" may contain a list of the names and version | |
56 | +numbers of the Plug-ins and/or Fragments associated with that Feature. | |
57 | +- Features may also include other Features ("Included Features"). Within a Feature, files | |
58 | +named "feature.xml" may contain a list of the names and version numbers of Included Features. | |
59 | + | |
60 | +The terms and conditions governing Plug-ins and Fragments should be | |
61 | +contained in files named "about.html" ("Abouts"). The terms and | |
62 | +conditions governing Features and Included Features should be contained | |
63 | +in files named "license.html" ("Feature Licenses"). Abouts and Feature | |
64 | +Licenses may be located in any directory of a Download or Module | |
65 | +including, but not limited to the following locations: | |
66 | + | |
67 | +- The top-level (root) directory | |
68 | +- Plug-in and Fragment directories | |
69 | +- Inside Plug-ins and Fragments packaged as JARs | |
70 | +- Sub-directories of the directory named "src" of certain Plug-ins | |
71 | +- Feature directories | |
72 | + | |
73 | +Note: if a Feature made available by the Eclipse Foundation is installed using the | |
74 | +Provisioning Technology (as defined below), you must agree to a license ("Feature | |
75 | +Update License") during the installation process. If the Feature contains | |
76 | +Included Features, the Feature Update License should either provide you | |
77 | +with the terms and conditions governing the Included Features or inform | |
78 | +you where you can locate them. Feature Update Licenses may be found in | |
79 | +the "license" property of files named "feature.properties" found within a Feature. | |
80 | +Such Abouts, Feature Licenses, and Feature Update Licenses contain the | |
81 | +terms and conditions (or references to such terms and conditions) that | |
82 | +govern your use of the associated Content in that directory. | |
83 | + | |
84 | +THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER | |
85 | +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. | |
86 | +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO): | |
87 | + | |
88 | +- Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html) | |
89 | +- Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html) | |
90 | +- Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE) | |
91 | +- Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0) | |
92 | +- Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html) | |
93 | +- Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html) | |
94 | + | |
95 | +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR | |
96 | +TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License | |
97 | +is provided, please contact the Eclipse Foundation to determine what terms and conditions | |
98 | +govern that particular Content. | |
99 | + | |
100 | + | |
101 | +Use of Provisioning Technology | |
102 | + | |
103 | +The Eclipse Foundation makes available provisioning software, examples of which include, | |
104 | +but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for | |
105 | +the purpose of allowing users to install software, documentation, information and/or | |
106 | +other materials (collectively "Installable Software"). This capability is provided with | |
107 | +the intent of allowing such users to install, extend and update Eclipse-based products. | |
108 | +Information about packaging Installable Software is available at | |
109 | +http://eclipse.org/equinox/p2/repository_packaging.html ("Specification"). | |
110 | + | |
111 | +You may use Provisioning Technology to allow other parties to install Installable Software. | |
112 | +You shall be responsible for enabling the applicable license agreements relating to the | |
113 | +Installable Software to be presented to, and accepted by, the users of the Provisioning Technology | |
114 | +in accordance with the Specification. By using Provisioning Technology in such a manner and | |
115 | +making it available in accordance with the Specification, you further acknowledge your | |
116 | +agreement to, and the acquisition of all necessary rights to permit the following: | |
117 | + | |
118 | +1. A series of actions may occur ("Provisioning Process") in which a user may execute | |
119 | +the Provisioning Technology on a machine ("Target Machine") with the intent of installing, | |
120 | +extending or updating the functionality of an Eclipse-based product. | |
121 | +2. During the Provisioning Process, the Provisioning Technology may cause third party | |
122 | +Installable Software or a portion thereof to be accessed and copied to the Target Machine. | |
123 | +3. Pursuant to the Specification, you will provide to the user the terms and conditions that | |
124 | +govern the use of the Installable Software ("Installable Software Agreement") and such | |
125 | +Installable Software Agreement shall be accessed from the Target Machine in accordance | |
126 | +with the Specification. Such Installable Software Agreement must inform the user of the | |
127 | +terms and conditions that govern the Installable Software and must solicit acceptance by | |
128 | +the end user in the manner prescribed in such Installable Software Agreement. Upon such | |
129 | +indication of agreement by the user, the provisioning Technology will complete installation | |
130 | +of the Installable Software. | |
131 | + | |
132 | +Cryptography | |
133 | + | |
134 | +Content may contain encryption software. The country in which you are | |
135 | +currently may have restrictions on the import, possession, and use, | |
136 | +and/or re-export to another country, of encryption software. BEFORE | |
137 | +using any encryption software, please check the country's laws, | |
138 | +regulations and policies concerning the import, possession, or use, and | |
139 | +re-export of encryption software, to see if this is permitted. | |
140 | + | |
141 | +Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both. | |
18 | 142 | </license> |
19 | 143 | |
20 | 144 | <requires> |
fr.femtost.disc.sysml2vhdlams.updatesite/artifacts.jar
View file @
f54aa5f
fr.femtost.disc.sysml2vhdlams.updatesite/content.jar
View file @
f54aa5f
fr.femtost.disc.sysml2vhdlams.updatesite/features/fr.femtost.disc.sysml2vhdlams.feature_1.0.0.201404231706.jar
View file @
f54aa5f
fr.femtost.disc.sysml2vhdlams.updatesite/features/fr.femtost.disc.sysml2vhdlams.feature_1.0.0.201404241015.jar
View file @
f54aa5f
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.problemmetamodel_1.0.0.201404231706.jar
View file @
f54aa5f
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.problemmetamodel_1.0.0.201404241015.jar
View file @
f54aa5f
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2problem.atl_1.0.0.201404231706.jar
View file @
f54aa5f
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2problem.atl_1.0.0.201404241015.jar
View file @
f54aa5f
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2problem.ui_1.0.0.201404231706.jar
View file @
f54aa5f
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2problem.ui_1.0.0.201404241015.jar
View file @
f54aa5f
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2vhdlams.acceleo_1.0.0.201404231706.jar
View file @
f54aa5f
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2vhdlams.acceleo_1.0.0.201404241015.jar
View file @
f54aa5f
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2vhdlams.atl_1.0.0.201404231706.jar
View file @
f54aa5f
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2vhdlams.atl_1.0.0.201404241015.jar
View file @
f54aa5f
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2vhdlams.ui_1.0.0.201404231706.jar
View file @
f54aa5f
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2vhdlams.ui_1.0.0.201404241015.jar
View file @
f54aa5f
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamslibrary.ui_1.0.0.201404231706.jar
View file @
f54aa5f
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamslibrary.ui_1.0.0.201404241015.jar
View file @
f54aa5f
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamslibrary_1.0.0.201404231706.jar
View file @
f54aa5f
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamslibrary_1.0.0.201404241015.jar
View file @
f54aa5f
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamsmetamodel.edit_1.0.0.201404231706.jar
View file @
f54aa5f
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamsmetamodel.edit_1.0.0.201404241015.jar
View file @
f54aa5f
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamsmetamodel.editor_1.0.0.201404231706.jar
View file @
f54aa5f
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamsmetamodel.editor_1.0.0.201404241015.jar
View file @
f54aa5f
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamsmetamodel_1.0.0.201404231706.jar
View file @
f54aa5f
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamsmetamodel_1.0.0.201404241015.jar
View file @
f54aa5f
fr.femtost.disc.sysml2vhdlams.updatesite/site.xml
View file @
f54aa5f
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <site> |
3 | - <feature url="features/fr.femtost.disc.sysml2vhdlams.feature_1.0.0.201404231706.jar" id="fr.femtost.disc.sysml2vhdlams.feature" version="1.0.0.201404231706"> | |
3 | + <feature url="features/fr.femtost.disc.sysml2vhdlams.feature_1.0.0.201404241015.jar" id="fr.femtost.disc.sysml2vhdlams.feature" version="1.0.0.201404241015"> | |
4 | 4 | <category name="SysML2Vhdlams"/> |
5 | 5 | </feature> |
6 | 6 | <category-def name="SysML2Vhdlams" label="SysML2Vhdlams"/> |