Questions tagged [build-script]

204 questions
0
votes
1 answer

how to add debug flags on compilation script execution:

I have a simple ./compile.make script that produces a bunch of object .o files. The contents are like this (first 5 lines printed): compile.make: gfortran -c -O3 active.f gfortran -c -O3 alchemy.f gfortran -c -O3 analysis.f I run the script by…
ejang
  • 3,982
  • 8
  • 44
  • 70
0
votes
0 answers

Buildscript to Plugins Migration Errors

I am trying to migrate my gradle files to move from using buildscript{} to use plugins {}, however I am struggling to understand what I am doing wrong. Here is my build.gradle (Project) - note I have commented out elements which I believe are no…
Scamparelli
  • 756
  • 1
  • 12
  • 28
0
votes
1 answer

Getting gradle to generate different startup scripts based on distribution

I'm using gradle 7.2 with the java, application, and distribution plugins. In my gradle.build, is a section for statupScripts: tasks.withType(CreateStartScripts) { def tplName = 'unixStartScriptTemplate.txt' assert…
hrfici
  • 3
  • 2
0
votes
0 answers

Gradle reusing plugin definitions?

I am setting up a project which will have multiple microservices. Each microservice will need to use the flyway (org.flywaydb.flyway) and jooq (nu.studer.jooq) plugins to migrate alter scripts and generate kotlin files for records and tables at…
0
votes
0 answers

IntelliJ Gradle task execution cannot resolve local build script references

I just understood how buildscript works and I've made a basic script that just puts kotlin inside any subproject with `kotlin-conventions` My gradle multiproject is setup like this: project ├─ acq | ├─ build.gradle.kts | ├─…
0
votes
2 answers

Run a script to parse YAML when React app compiles

My Problem I have a ReactJS website that parses a JSON file (stored in the src folder) to render content. I recently attempted to use a YAML file instead because of YAML's richer abilities (supporting Markdown, for example). Because React must load…
Peter
  • 4,021
  • 5
  • 37
  • 58
0
votes
1 answer

BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 61 in intellija idea

BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 61
0
votes
1 answer

encoding issue with special chars in properties file

I have a ant build script that uses a build.properties file. There I have something like this: release_type=debug version_code=1 version_name=1.0.0 logo_text=This is German: special chars like ä or ö My problem is now, that I use logo_text to…
WarrenFaith
  • 57,492
  • 25
  • 134
  • 150
0
votes
1 answer

How to run a command after a gradle task is killed?

I have the following gradle task that works fine: abstract class StartDevTask : DefaultTask() { private val developmentTasks = listOf( "dev-db", "run", "watch" ) @TaskAction fun startDevelopmentTasks() { …
Some random IT boy
  • 7,569
  • 2
  • 21
  • 47
0
votes
1 answer

How to get a batch of file version using a SVN repository

I have a build process that copies files out of the repository to make a binary image. I need the file revisions for all of the files in the repository for the build process. I know that I can run svn info [filename] and get the file version that…
Nate Zaugg
  • 4,202
  • 2
  • 36
  • 53
0
votes
0 answers

How to access a method from Gradle's ext block in a Spock test?

I have a project where I've split up my logic into multiple gradle files and written them into the ext{} block. Here's a simplified version of what I'm doing to illustrate my issue: build.gradle: plugins { id 'groovy' } repositories { …
Sam Jones
  • 43
  • 5
0
votes
0 answers

How to add package dependencies in a pom file?

How to add just the packages as dependencies, instead of entire module in a pom.xml. I have a two modules dataloader and assets (both with packaging type as war). The assets have so many packages and the dataloader only needs oms, violations, and…
Ven
  • 1
  • 3
0
votes
1 answer

HTML5 mobile boilerplate build script empties HTML files

All files seems to have run through the build script without any problems except my HTML files. They get added to my publish folder but are completely empty. I have tried both ant build and ant minify. If i comment out this line…
Johan B
  • 1,976
  • 1
  • 21
  • 40
0
votes
0 answers

Why would my CocoaPods-infused Xcode build never complete, citing "Canceled" rather than "Failed" or "Success"?

I'm getting the above message every time I try to build, no matter how (Pressing the ▶ button, ⌘B, ⌘⇧R, ⌘R, Product ❯ Run, Product ❯ Build For ❯ Running), it seems to otherwise succeed, but instead it says "Canceled". It never runs (even ⌘⌃R won't…
Ky -
  • 30,724
  • 51
  • 192
  • 308
0
votes
1 answer

Where is property/task described?

By trial and error I got ANT example below working. Looks like is something executed before any target invoked. E.g. ${foundSrcFiles} can be used in (any) target with found files being displayed. It's just I didn't find this documented…
vl106
  • 11
  • 2