Skip to content

official .gitignore for bw6 maven projects so that import existing maven projects works OK! #764

@robertsi

Description

@robertsi

I have worked for a few customers and each one of them has a mess with files checked into git.
Most of them use option Import existing Studio Projects into workspace (which means all .settings, .classpath, build.properties, .WebRespirces etc garbage is checked into git

I would like to have an .gitignore that would make all projects work without problems by using import existing maven projects and a clean git repo
Image

Chatgpt suggestion bellow, but I can't trust it....and usually when I attempted to write smth on my own I couldn't import projects OK.

# ===============================
# Eclipse / Studio IDE files
# ===============================
*.metadata/
*.log
*.bak
*.tmp
.settings/
*.swp
*.classpath
*.project
*.launch

# ===============================
# TIBCO BW generated files
# ===============================
/.WebResources/           # auto-generated web resources
/build.properties         # Studio-managed, generated
/target/                  # Maven build output
/*.ear                    # built EAR files
/*.jar                    # built module jars

# ===============================
# Maven specific
# ===============================
/pom.xml.tag
/pom.xml.releaseBackup
/pom.xml.versionsBackup
/release.properties
/dependency-reduced-pom.xml
/buildNumber.properties

# ===============================
# OS / editor-specific
# ===============================
.DS_Store
Thumbs.db
*.iml
.idea/
.vscode/

Is this even possible to achieve with BW6? All standard java maven projects generate IDE files out from maven pom files and no IDE stuff should be checked into git....ESPECIALLY not the files that gets overwritten/regenerated almost always!!!

KR,
Robert

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions