Is there a standard list of files/directories/pattens that can be added to a version control ignore list (e.g. .hgignore) when version controlling the source of a Google app engine Java app?
I guess a bunch of people must have worked this out already, any good examples out there?
App Engine runs Java 11/17 apps in a container secured by gVisor on an up-to-date Ubuntu Linux distribution and its supported openjdk-11-jdk for Java 11 or openjdk-17-jdk for Java 17 runtime.
A Java Development Kit (JDK) for your platform. App Engine supports both Java 5 or Java 6 however Java 6 is preferred.
The App Engine standard environment is based on container instances running on Google's infrastructure. Containers are preconfigured with one of several available runtimes. The standard environment makes it easy to build and deploy an application that runs reliably even under heavy load and with large amounts of data.
Standard list, maybe not, but you have some examples:
syntax: regexp
\.*py[co]
\.DS_Store
~$
\.coverage
\.egg-info
syntax: glob
nbproject
app.yaml
auth.py
dist
target
WEB-INF/appengine-generated
Basically, at least any directory with generated content should be ignored.
The same principles holds true for Java app projects like this one or that one:
syntax: glob
*~
*.patch
*.sedbak
*/target/*
*/<project_name>searchindex/*
*/test-output/*
hs_err_pid*.log
tomcat
syntax: regexp
\.jar$
^\.pc/
^.ant-targets-build.xml
\.pages.xml.spdia$
temp-testng-customsuite.xml$
# eclipse and maven stuff
^target
# kde related
\.directory$
#gwt related
^<project_name>-war/war/WEB-INF/classes/
^<project_name>-war/tomcat
\.gwt-tmp$
^<project_name>-war/org.fedorahosted.<project_name>.webtrans.Application
^<project_name>-war/war/org.fedorahosted.<project_name>.webtrans.Application
Off course, I will keep any Eclipse or maven related file under source control, in order to facilitate the build step when anyone will clone the repo.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With