How to override Alfresco tomcat files in eclipse project - alfresco

I'm new to Alfresco and I'm trying to override in my eclipse project messages files located in tomcat alfresco (not share) at C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\messages
I've tried to put them under alfresco/extension/messages and alfresco/web-extension/messages but both didn't work.
Does anybody have an idea.
Thx

try tomcat/shared/classes/messages

OK just in case somebody runs into this, it seems that I have forgotten to define the path of my files in the eclipse project in a bundle-context.xml file. Now it works.

Related

How to add .conf files to Pycharm

I am running a Django Project in PyCharm and deploying it to EC2 in AWS. The guide tells me to use nginx I have to create a file called nginx_someName.conf however no matter how much I try I can't get create a .conf file and write in it. I tried to download Scala to Pycharm using the question below IntelliJ IDEA plugin to fold .conf files? but somehow the Scala plugin is no longer available on Pycharm. (Scala was supposed to be a plugin that allows .conf files)
However I am able to create .config files So I named my file nginx_someName.config Is it the same thing
Image below in relation to #yole's solution
Following #yole's advise related image Reached here now..
Click this button as shown on the screenshot:
use .ini instead .conf in pycharm for configuration best answer I can come up with for now
create a new file with .ini

Issue with open and running already existing Magnolia-CMS project

I started looking at the Magnolia CMS system and found a project on the web and I can't open it and run it.
This are the files:
author.tar
magnolia.tar.xz
public.tar.xz
magnolia.tar
I tried to add the files into apache folder and run it, I tried with Magnolia CLI to run it, but with no success.
I miss something, but I'm completely new to Magnolia, so I have no idea.
Thanks in advance.
These pages should be sufficient to get started.
https://documentation.magnolia-cms.com/display/DOCS56/Getting+started+with+Magnolia
If you fancy CLI, then
https://documentation.magnolia-cms.com/display/DOCS56/Magnolia+CLI
Hope that helps,
Cheers,

Sqlite Creates lot of dll files on tomcat temp folder

i'm using Java 8, gradle, tomcat8 and Sqlite 3.8.11.2.
I installed sqlite on my project obviously using gradle.
All works fine, i dont have any problems but i have lots of dll files on my tomcat/temp folder
You can check on the next link an image that shows it:
http://prntscr.com/bvbgxm
Does anybody know how to avoid it?
Did a miss some configurations?
Thanks!
I was reading in some forum and discovered that Its a reported bug.
https://github.com/xerial/sqlite-jdbc/issues/80

Generate .war file from web app

How can I generate .war file from web app containing just HTML, CSS & JavaScript?
Is there any way to do that using webstorm?
I think IntelliJ has a way of doing it but Webstorm doesn't.
http://www.jetbrains.com/idea/webhelp/configuring-web-application-deployment.html
However if you have Java SDK installed and environment variables set for it you can create .war files from the command line. Just navigate to your project area and use the command
jar -cvf myApplication.war myApplicationFolderName
Hope this helps
Maybe you can configure a grunt file and make a war task
https://www.npmjs.com/package/grunt-war
the good thing about this is that you will be independent from the IDE or editor you're using.
In practical terms, it worked for me

PHPStorm - Link external SFTP-folders into project

the issue i am fighting through is a bit complicated. Ill explain the setup envoironment to you first.
I am using PHPStorm to work on a Symony2 Project.
My Apache is hosted on a Debian-VM connected to PHPStorm via "Deployment Tool".
/* So far: I can edit code and update the server automaticaly on save. Works*/
My problem now is, that i am using the composer, which is ment do get me the right bundles into the vendor folder.
I WANT to create kind of a symlink from the server directly into the project.
I DONT WANT to download the vendor folder from the server hard into the project.
COMPACT:
I want to create a symbolic link within a PHPStorm project. Linking a folder from a server into the Project. The linked in folder should be unidirectional updated on source change. The Classes and Namespaces should be known to the Project.
Is there any native way to get this done?
Or does anyone know a plugin which could handle such affairs?
I hope i expressed my point clearly :/ Please ask, if anything is unclear.
Greetings and thanks upfront.
It's not possible to do directly from PhpStorm, see the related issue. You can use some third-party tool like ExpanDrive to map a server directory to the drive letter by SFTP and then add this local directory as a content root to your PhpStorm project. Note that it may affect the performance dramatically.

Resources