Comments (7)
we don't use mylibs anymore, can you try the new version of the build script?
from ant-build-script.
Just built a new one from scratch. Same issue.
I have a file here: ./js/bootstrap/bootstrap-carousel.js
I think this edit in project.properties should do it: file.js.bypass = bootstrap/bootstrap-carousel.js
But the file isn't copied and references form html are not updated. Can you provide an example?
project.properties still references mylibs:
# Add any files or folders within the mylibs directory that you want to be copied to the publish directory as a
# comma separated list
from ant-build-script.
Just got it going.
project.properties edit: file.js.bypass = bootstrap/bootstrap-carousel.js
AND ensure that the file is outside of the comment block in the html.
You need both :)
Seperate issue that I'll leave to wiser minds: my escaping the script for the carousel worked. So why is the build script munging the bootstrap js?
from ant-build-script.
What are you expecting the reference in the HTML to do? All we do is a big block replace. Those comment tokens just get blown away and replaced with a script tag that points to the new concatenated and minified file. We're doing zero parsing of the contents of individual script tags.If you place the reference outside of those comment tokens nothing should happen at all. The build script is quite literally blind to anything outside of those comment tokens.
(this and the previous crossed in the night. I'll leave it for posterity and... closed)
from ant-build-script.
The most current version of the project.properties comment still reads:
# Bypassed JavaScript files and dirs
#
# Add any files or folders within the mylibs directory...
Yet you don't use that directory any more? That's a bit confusing.
from ant-build-script.
It is confusing. I'll remove it from the project.properties.
from ant-build-script.
AND... I'm going to purge all the tasks that touch it. time to make an issue for myself.
from ant-build-script.
Related Issues (20)
- Change docs to address confusion HOT 2
- Can't copy minified js directory over to publish HOT 2
- Concatenation after minifying and ADVANCED_OPTIMIZATIONS HOT 5
- Image Optimization Broken on Linux/Mac HOT 9
- Minifying any unconcatenated css files... FileNotFoundException HOT 2
- The gem-sass.jar throws an exception with Foundation 4 HOT 3
- Image Optimization HOT 5
- Rework Image Optimization HOT 15
- CSS reference not updating w/php includes on build HOT 6
- Mavericks Upgrade: Busted Macports for Ant HOT 2
- Unicode characters being inserted between css imports upon concatenation. HOT 5
- css-references not updating in html-file HOT 17
- working with sass stylesheets HOT 1
- problem with advpng and java.. HOT 5
- set language_in option for closure compiler? HOT 6
- Port to NodeJs HOT 1
- css does not minify/concat correctly when using default main.css HOT 7
- ant validate only validates single page HOT 1
- JS files vanished in publish/ directory HOT 1
- How to use this build script outside my project? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ant-build-script.