Comments (3)
I was able to replicate this in Windows and patched it today. This commit should fix it: http://github.com/searls/jasmine-maven-plugin/commit/e89008a7edda3c6e710ebe0f50af3d8a916e08b7
Feel free to open another issue if you experience this again. If you can share your POM or an archive of your configuration, it would help debug the issue more confidently.
from jasmine-maven-plugin.
Thanks a lot! The underlying problem was that I was using absolute paths for preloadSources. The third-party code (Ext JS 3.2.1) that my code depends on was not in my source tree. Is there some way to specify JavaScript dependencies aside from preloadSources?
from jasmine-maven-plugin.
The purpose of the preloadSources
property list was to allow users to force the ordering of JS sources, not to identify additional sources outside the specified source dir.
The plugin presumes all sources to be in the jsSrcDir
directory (which defaults to src/main/javascript). My personal workflow is to stick my production JS sources in a folder and any dependencies in a sub-directory.
If that isn't possible, we could consider adding a list of source directories instead of just one.
As an immediate workaround, let's say you have a webapp, but you also have an ogre that requires you to keep your own JS and vendor JS in distinct, separate folders. You might be able to get by with pointing the property at their first shared ancestor and crossing your fingers, like so:
<configuration>
<jsSrcDir>${project.basedir}/src/main/webapp</jsSrcDir>
...
</configuration>
This will include "*/.js" inside webapp, so it would copy both your own js folder as well as one including third party scripts.
from jasmine-maven-plugin.
Related Issues (20)
- Jasmine-Maven plugin error in Windows platform HOT 1
- antlr error HOT 1
- ReferenceErrors when running in Jenkins with symlinked JENKINS_HOME HOT 3
- How to use phantomjs 2.1.1 HOT 1
- Jenkins Maven Integration with Jasmine broken since 2.2 (Test results not shown) HOT 2
- Cannot make it work with ManualSpecRunner HOT 2
- Allow users to configure tests to run in a random order HOT 2
- turnoff the default reports generated by this plugin and print only the custom reporter messages HOT 1
- Can't customize ChromeDriver on 3.0-alpha-01 HOT 2
- Update the github pages site HOT 1
- Unable to set WebDriver IE specific capability ignoreProtectedModeSettings HOT 2
- Chrome version 74 HOT 4
- The documentation page is down HOT 3
- Blocked testing with latest version HOT 11
- Cannot make it work with RemoteWebDriver and Docker HOT 5
- timeout error after waiting for 300 sec with version 3.0-beta-01 HOT 2
- jasmine:bdd (version 3.0-beta-01) opens browser but jetty gives 403 HOT 3
- Broken link for usage page HOT 2
- The link to documentation at github is broken. HOT 5
- plugin doesn't work with Chrome version 117 HOT 2
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 jasmine-maven-plugin.