Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Version control ignore list for google app engine Java apps

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?

like image 815
Tom Avatar asked Jul 06 '10 13:07

Tom


People also ask

Which version of Java does Google App Engine Support?

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.

When Java programming for App Engine What preferred development kit?

A Java Development Kit (JDK) for your platform. App Engine supports both Java 5 or Java 6 however Java 6 is preferred.

What sort of application environment is provided by Google App Engine?

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.


1 Answers

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.

like image 188
VonC Avatar answered Oct 11 '22 15:10

VonC