I have a symfony 1.4.x project , orm propel , when i am generating a schema it display the error "You must be in a symfony project directory" , i am using windows xammp server , what can i do to generate schema model in this project , in folder structure is slightly changed from default project but its working , i need to add a new table how can i generate schema model .is any another method to generate schema model in symfony 1.4.x. i cant find the solution.
i am not created this project , it is a existing project nee to add some fetures
all symfony command is not working inside the project , it says the same error "you must be in a symfony project". what error i made please help me
Thanks in advance
Seems you are missing the project file itself. In your project root, a SYMFONY file should exist. The command line tool checks for this.
If you google a bit for your error message you will find several references on this.
Related
I need to read the settings file (appsettings.json) from another project in my solution. When I use:
Directory.GetCurrentDirectory()
From within the current project, I get the following path:
{projectRootFolder}\bin\Debug\netcoreapp3.0\
My question is: How can I get to the exact same folder in another project in the same solution? Or is there a better way to access the settings file from another project within the current solution?
If I understand the problem correctly there are two misconceptions:
It has little sense to access output directory of an another project as the structure has sense in compile time only. You will not have the same structure in run-time once the application is "published".
The Directory.GetCurrentDirectory() returns the current working directory. It is just a coincidence to be set to project output directory by Visual Studio. It can be totally different directory.
It is not clear to me what exactly you are trying to achieve. I recommend using the configuration system provided by .net core to access the configuration and add that other appsettings.json as another configuration provider.
If you really need to open the settings file then the project with the settings file (A) should mark the file as "Copy to Output Directory" and the project to open the file (B) should reference the project A. So the settings file will be copied to output of the project A too.
What you're attempting to do is not possible. There's no inherent way for ASP.NET Core to know where a totally different app running in a totally different process is located.
If you need to access appsettings.json from another project, then you would need to include it as a linked file in your project, and set it to copy to output. Then, you're accessing it actually from your project (which is all you can do), but the file itself is shared.
However, this is almost always a bad idea, and usually a sign that you're doing something wrong. If you truly do need to share the settings, then what you should be doing is putting them in a distributed config provider like Azure Key Vault or similar, where both projects can independently access the settings from a common store.
Create a new DSL with Xtext a project with the prefix repository.
Does this project create an update site for the plug-in?
If it is the case must the project be configure and how is it deployed?
The answer is:
Yes it creates a repo.
No there is no config needed unless you want to change contents. Then update category.xml
There is no deployment. You can e.g. upload the (unpacked) zip on a webserver or send it to your users via a file server
(Could you give some more hints why you are asking)
install depot_tool then following the gn guide and standalone guide, but i always get error "gn.py: Could not find checkout in any parent of the current path."
so my problem is :
how to create the gn project which is not using chromium sub project, eg: only one function like helloword?
how to create the gn project which is using chromium sub project like v8/pdfium, eg: one console project is using pdfium to read pdf page count.?
I'm not completely sure from the error you describe but it sounds like you don't have a .gn file in the root.
I recently started getting into gn and made a simple starter project: https://github.com/aellerton/experiment-learn-gn
The first thing I didn't expect was the need to have a root .gn file, and that the file needs to point to the root config: https://github.com/aellerton/experiment-learn-gn/blob/master/.gn
The second thing I didn't expect was the need to provide an entire toolchain. I kind of like this now as it gives me full power. I used this one here, by making it a git submodule as the author suggests: https://github.com/timniederhausen/gn-build
Then building a trivial Hello World console program was straightforward.
I am using Playframework 1.2.4 and I have created a project that I would like to turn into a module since I am using this class in many projects. This class is just called TJUser, there you create and delete users among other things.
I created an empty project
play new testproject
Then I created a module inside the project
cd testproject
play new-module user
Then I copied my user class and views into user/app/controller/user and my views into user/app/vies/user and the same with models.
I also copied over the routes file from the project and placed that in user/conf
The project I made works. But I can't get my module to run. I don't know the next steps.
Hope someone can assist
I wrote a blog post about using modules. http://playframework.wordpress.com/2011/02/27/play-modules/
Hopefully it can help you with your question.
I'm trying to mass move reports to different folders in salesforce using the Force.com IDE.
I've followed the instructions provided by SarathPM here:
http://success.salesforce.com/questionDetail?qId=a1X30000000IEOSEA4
I update my package.xml, move the corresponding files and then try to save to server.
However, I keep getting the following errors:
When deploying:
Save error: DeveloperName: This Report Unique Name already exists or has been previously used. Please choose a different name.
When saving to server:
Unable to save resource 'All_Leads.report' to server: IllegalArgumentException: Project and/or project package list cannot be null.
There must be a way to move reports in salesforce other than manually saving each report to a different folder. Thanks in advance.
EDIT:
I did a fresh checkout of the reports folder only.
package.xml before
<members>SampleConsultingDashboardReports</members>
<members>SampleConsultingDashboardReports/AvgEngagementLengthByPracticeArea</members
<members>Utility_Reports</members>
<members>Utility_Reports/X10_reports_Account_activities_last_7d</members>
package.xml after
<members>SampleConsultingDashboardReports</members>
<members>Utility_Reports</members>
<members>Utility_Reports/AvgEngagementLengthByPracticeArea</members>
<members>Utility_Reports/X10_reports_Account_activities_last_7d</members>
Save package.xml, move AvgEngagementLengthByPracticeArea.report to Utility_Reports. Refresh in Eclipse, I see the changes. I try to "Save to Server" and it tells me the "Project is not synchronized with the associated Salesforce organization." I bypass the message and try to save anyway, which is when the "Unable to save resource 'Utility Reports' to server" message shows up.
I tried Synchronizing everything with the server before making any changes. Still get the same error messages.
I can confirm that the method described by Sarath, when followed exactly, works. You'll need a more specific repro scenario. I'd suggest trying to move just a single report. Just to be clear, the steps are:
download a fresh copy of your reports metadata via Eclipse
manually edit the package.xml to change the folder of a report. (I think you need to make sure the folder exists on the server, and that you are referring to the developer name of it, e.g. Folder_A/My_report)
in the underlying file system, move that report to a folder of that name
in Eclipse, do a project refresh from the local file system (NOT the server)
in Eclipse, do a save to server
the report should move
If this also does not work, post your package.xml before and after, and the exact steps you followed.