Questions tagged [build-script]
204 questions
1
vote
1 answer
ClassNotFoundException in buildscript when using the mysql-connector
I'm getting a ClassNotFoundException with the message java.lang.ClassNotFoundException: com.mysql.jdbc.Driver when i run the generateTestDatabaseJooqSchema task from this jooq plugin. I don't know why this would be, since I included…

Thomas
- 537
- 1
- 4
- 14
1
vote
1 answer
Gradle: Mark a plugin subtask as non-runnable depending on environment or other property
I just tested out Flyway for DB Migration, and was pleasantly surprised at its capabilities and workflow.
However, there was one issue: Flyway can also perform a clean task which effectively drops all tables and procedures from the schema you are…

filpa
- 3,651
- 8
- 52
- 91
1
vote
2 answers
How to obfuscate or minify Javascript files
I'm doing a web based java application using Netbeans IDE, There are some javascript files in netbeans IDE. I need to Obfuscate or minify my javascript files automatically when I clean and build the project, Is there any solution for that? or do I…

kAsdh
- 356
- 1
- 10
- 25
1
vote
2 answers
How do I determine what target is calling my current target in Nant?
I am modifying a Nant build script to run some unit tests. I have different targets for locally run tests and tests to be run on team city.
…

mezoid
- 28,090
- 37
- 107
- 148
1
vote
2 answers
Is there an elegant way to achieve target dependency ordering in Ant?
Suppose I have a simple build script with the following 4 targets:
build - Compile's the project's code, depends on init
init - Sets up the build environment, depends on nothing
clean - Deletes all files generated by build and init, depends on…

CAustin
- 4,525
- 13
- 25
1
vote
0 answers
Automation - iTunes Producer
I am trying to get an automated process happening in iTunes producer.
We have thousands of songs that need to be uploaded as ringtones. We need the process to become a lot quicker.
We basically need to do the following on the 'Tone' screen under the…

Hannah
- 91
- 1
- 1
- 4
1
vote
1 answer
How to compile VIs for different targets with compile flags in LabVIEW?
I have five RT targets that run almost equal code. I don't want to copy the VIs around to every target. Obviously because I don't want to recopy everything when changes happen. My prefered way would be that I write one VI with some conditional…

simonides
- 3,040
- 3
- 19
- 34
1
vote
2 answers
Can I tag in Apache Subversion with NAnt?
I need to build multiple environments and tag them in Apache Subversion using a NAnt script. Is there a way that I can use NAnt to create the tags in Apache Subversion with a variable I supply?

Zero Cool
- 1,866
- 4
- 19
- 28
1
vote
2 answers
TFS 2008 Build Script
In TFS 2008, I am trying to modify a build script (TFSBuild.proj). I get the following warning:
The element 'PropertyGroup' in namespace 'http://schemas.microsoft.com/developer/msbuild/2003' has invalid child element 'TeamProject' in namespace…

Paul Michaels
- 16,185
- 43
- 146
- 269
1
vote
2 answers
How to apply Cobertura plugin to all projects or all subprojects
I'm trying to apply the Cobertura plugin to all projects and subprojects in my Gradle build scripts. However, the scripts are unable to find the plugin when applied to all. Here is what I've got:
buildscript {
repositories {
jcenter()
…

jjNford
- 5,170
- 7
- 40
- 64
1
vote
2 answers
Android what is a toolchain compatibility issue?
When porting an ARM native application to x86 platforms, Intel say:
Toolchain Compatibility
It is possible that your build environment uses the toolchain directly
instead of using the Android* build scripts. In the case of ARM* the
path used…

user3185731
- 189
- 1
- 12
1
vote
1 answer
Get XCODE to Copy run script converted files to iOS resources bundle?
I have a script which converts wav files to caf files, and I'd like to get them copied to my iOS app automatically. The script looks like this:
Xcode doesn't copy it automatically, and i can't find a way to add it to my Copy Build Phase section. …

henryaz
- 870
- 1
- 8
- 18
1
vote
1 answer
Android Gradle Ant Scp Task
I'm moving to Android Studio so I'm migrating my existing ANT build process to Gradle. I'm new to Gradle though, so I'm hitting some issues in the process.
My current ANT script deploys my APK to a server using the scp task. I'd like for my Gradle…

DalvikDroid
- 523
- 6
- 14
1
vote
2 answers
How to run minify files in JavaScript project
I minified my JS file using grunt task runner.
I have a minified file with me but i dont know how to run my project using this minified JS file.
I first 'concat' and then 'uglify'. Now, i don't know how to run.
I am using require and backbone in my…

Megha
- 1,581
- 2
- 18
- 33
1
vote
2 answers
Calling C# code inside a nant build script - time impact?
I have a section of C# code within my nant build script that runs and updates the console window's title with any message that I want, which is this (and runs perfectly fine):