0

To abide some Audit/IT process, we are required to always add File(a TXT & XML file) to our Java projects. Is there a way that I can customize my Eclipse/Mule Studio to add these automatically whenever I create File->New->Mule Project. Because sometimes we miss it and then we need to repackage just because of this.

David Dossot
  • 33,403
  • 4
  • 38
  • 72
Raj
  • 59
  • 1
  • 8

2 Answers2

1

You can consider also to create a template and upload it to the Anypoint Exchange, although this is an enterprise feature.

Víctor Romero
  • 5,107
  • 2
  • 22
  • 32
0

It should be part of your Maven build process to either auto-include these files or die if they are missing. That way, you won't be able to produce invalid Mule applications.

David Dossot
  • 33,403
  • 4
  • 38
  • 72
  • Thanks @ David for your reply. Currently we don't use build tools like maven. Kindky advise how to achieve this with out maven – Raj Jun 27 '15 at 01:56
  • Create a project template for Eclipse, maybe http://stackoverflow.com/questions/2414020/how-to-make-a-new-eclipse-project-template ? But I **strongly** encourage you to use Maven (or Gradle) to build your Mule application. You wouldn't build Java applications from Eclipse, same applies to Mule applications: use a real build tool and have reproducible automatable builds. – David Dossot Jun 27 '15 at 15:15
  • Thanks @ David for the link. – Raj Jun 29 '15 at 16:47