so i have this meta model i m working on. since i m working on meta model in papyrus i didn't really find a solution. So was working on another machine normally , after that i pushed on git and tried to work on it in my personal machine i had this problem that i couldn't solve :
project missing required source folder : src
Here is a picture of that problem ( 4 errors but i think the same problem ).
I wish you have a good day and thank you in advance.
Related
I had a hard time searching for this problem because I can't figure out what search terms to use. I'm using Eclipse for JavaFX and I'm having an issue in this one project where my folders don't look right in package explorer. It's been giving me issues in my code saying it can't find folder/file1 because instead of having a folder that expands to show multiple files, instead I have four folders: folder.file1, folder.file2, folder.file3, etc.
I'm sure that's not very clear (which is why I'm having trouble searching it. So here's a few pictures.
What another project (in the same workspace!) looks like:
^^This is what I want (with subfolders under resources).
What I'm getting instead is:
And here is my folder structure to prove I'm not creating folders named with dots in the middle:
Is there some setting or something I can use to fix this? I had this issue early on with packages under the src folder but I was able to fix that through the build path. I cant figure out how to fix it now that it's not the source path.
Sorry if I'm asking a duplicate question, I just had a really hard time coming up with search terms for my problem.
I've spent the past 2 weeks working on a coursework for College, I had pretty completed 90% of it. I decided to open Overture now and seems like all my projects have corrupted :((((((
http://gyazo.com/8e25549bbca700a22399e736a88a1996
If anyone has any suggestions/ideas about how I could recover from this I'd greatly appreciate it. I've tried 'Compare with -> Local history' but did not work. Little upset right now :[
The VDM source files in an Overture project are simple text. If those files are not corrupt (open them outside Overture with a text editor), then create a new workspace, create new project(s) and copy the files into them.
If the source files are corrupt, the only hope is if you have some sort of backup, I'm afraid.
We've never seen Overture corrupt sources before. The only component that could do this is the editor, and it deals with one file at a time. Do you have any idea why or when this happened? What version and platform are you running?
I accidentally published Composite C1 from Visual Studio with "Precompile during publishing" when I first set it up and have now come to realize that several plugins do not work with precompile turned on. Unfortunately I have no idea how to reverse this. I've tried several things to no avail. I usually end up with a 500.0 error. If I go to the admin interface everything is working properly, and I can even preview the pages, but from the customer side all I get is a 500.0 error.
Of course I could republish from the Visual Studio project I have, but that project has the default template on it. I've tried copying what appears to be changed on the server to the original project but I end up with a 500 error. I've tried removing all the precompiled stuff on the server but I end up with a 500 error. I'm pretty lost.
At this point I'm willing to do anything. Is there a doc explaining how to copy the content to a newly downloaded copy, kind of like an upgrade doc but "side-grading"? I am using the most current version at the time of writing this 4.2 Update 1
Thank you
Solved use the PackageCreator suggested by wysocki's answer. It was not exactly straight forward to create the package. The errors can very cryptic at times. So here are some of the issues I encountered and how I got past them:
wysocki was correct to suggesting starting with a bare bones installation even though my original project was started with the Venus theme. I tried both ways.
I encountered issues with the MasterLayout and the Page Template Features which are currently not supported by the PackageCreator, although they may be supported in future versions. The solution was to add the missing elements to the fresh C1 project from the original C1 installation in the App_Data/PageTemplates and App_Data/PageTemplateFeatures folders.
A few times I ran into an issue where I added the same page or function twice to the PackageCreator. This was obviously my fault, but it should be mentioned that you can add the same site element twice which throws and error on import. Make sure you are careful to only getting one of each when creating the package to be exported.
If you are getting and error and it uses and Id like "4061397b-ee9e-4512-984d-f2b2d41eb654" I've found that it was very helpful to extract the zip file you are trying to import and then search the extracted folders for that Id. The lines with the Id usually have more information on them that will help you to identify exactly what content page or whatever the error is being generated from.
If you are using installed packages in your project like SimpleSearch for example, make sure you don't add it's functions to the PackageCreator. Install them separately.
I had an issue where I somehow had an element in the Data section that didn't have a "type". The error simply "The type cannot be empty". This was obviously tough to find so I suppose the lesson is, less is more. If you think your project might have a few elements that are unnecessary, don't add them at first and see if the project you import them into complains about missing them. It's much easier to troubleshoot missing elements than it is to figure out which element is causing the issue that you really didn't need.
Is there a doc explaining how to copy the content to a newly downloaded copy
You can try and export content / templates / anything else related to a "package" via Composite.Tools.PackageCreator.
Its latest version gives you quite a lot of flexibility in what you can export ("package") - please its user manual.
Once the package is made and downloaded, you can go on and install it on a new website. If you export / import a lot of content / templates etc, it makes sense to have a "Bare Bones" site as the new one.
All the starter sites like "Neptune", "Venus" are installed as a bunch of packages in specific order during Composite C1's initial setup.
I have read the other posts asking the same question but was unable to get my code to work. I have deleted my meta data and imported my files back in to no avail.
I have my workspace inside my dropbox folder to allow me to code from home or while away. Currently I am using my laptop which is not my primary coding machine. The project worked yesterday on this laptop however.
any help would be much obliged, I will provide any information that is required
First go to the Project menu and select "Clean...". That might solve it right off the bat.
If not, next you should right click on your "src" folder and select "Build Path" -> "Use as Source Folder". Then Clean again.
Try those two things and then report back with results.
I have a question about adding folder/jars/libraries to a project in eclipse.
Let's say i download a folder off the internet which has libraries, do I add it as a folder, external jar or a class folder ?
Either way, I added it and it is now part of the libraries available, but I still get an error in my program saying the class is not available.
I then tried to modify $CLASSPATH to where the folders are sitting and I'm still getting errors.
What am I doing wrong ?
Simply try the following (if your project is a web-application):
Add your libraries (I presume jar files) to your WebContent/WEB-INF/lib folder. What you can do is simply copy the jar (i.e. Ctrl+C) and then past into this Eclipse folder. In this manner, the library will automatically be added to the build-path.
Alternatively, you can follow any of the three-steps outlined in this example:
http://www.wikihow.com/Add-JARs-to-Project-Build-Paths-in-Eclipse-(Java)
I would personally try Method-3 first (which is exactly what I mentioned in the comment provided below).
If this does not work, please try add more specifics to your question. For example, which library did you download (it might help to mention in case you’re missing something we don’t know about). Also, what exactly are the errors you are getting? If you cannot post an image, simply copy what the error is.
After adding all the JARs , try pressing Ctrl + Shift + O (as in Orange). This should re-organize the Imports and try to add any missing ones.
For example, go to excelToText.java and press Ctrl + Shift + O OR Click Source -> Organize Imports like so :
Then when you Save the file ( File -> Save) do you see the Errors disappear ?
See this video to take a look at how this works.