How to build FullCalendar on windows - fullcalendar

I have been trying to get FullCalender to work on my Windows machine for days now. Unfortunately, it doesn't work with Cygwin, on a Linux VM or with "Ubuntu on Windows" (as explained in the Contribution Guide).
Under "Ubuntu on Windows" I run the following commands:
git clone --recursive https://github.com/fullcalendar/fullcalendar.git
yarn
yarn build
And this is the ouput:
[10:17:13] Using gulpfile /var/tmp/fullcalendar/gulpfile.js
[10:17:13] Starting 'build'...
[10:17:13] Starting 'removeTscDevLinks'...
[10:17:13] Finished 'removeTscDevLinks' after 167 ms
[10:17:13] Starting 'writeTscDevLinks'...
[10:17:14] Finished 'writeTscDevLinks' after 520 ms
[10:17:14] Starting 'localesAllSrc'...
[10:17:14] Finished 'localesAllSrc' after 22 ms
[10:17:14] Starting 'tsc'...
[10:17:14 AM] Projects in this build:
* packages/core-preact/tsconfig.json
* packages/common/tsconfig.json
* packages/core/tsconfig.json
* packages/interaction/tsconfig.json
* packages/icalendar/tsconfig.json
* packages/daygrid/tsconfig.json
* packages/timegrid/tsconfig.json
* packages/list/tsconfig.json
* packages/bootstrap/tsconfig.json
* packages/bootstrap5/tsconfig.json
* packages/luxon2/tsconfig.json
* packages/google-calendar/tsconfig.json
* packages/luxon/tsconfig.json
* packages/moment/tsconfig.json
* packages/moment-timezone/tsconfig.json
* packages/rrule/tsconfig.json
* packages/__tests__/tsconfig.json
* packages/bundle/tsconfig.json
* packages-premium/__tests__/tsconfig.json
* packages-premium/bundle/tsconfig.json
* packages-premium/resource-common/tsconfig.json
* packages-premium/resource-daygrid/tsconfig.json
* packages-premium/resource-timegrid/tsconfig.json
* packages-premium/resource-timeline/tsconfig.json
* packages-premium/scrollgrid/tsconfig.json
* packages-premium/timeline/tsconfig.json
* packages-premium/adaptive/tsconfig.json
* tsconfig.json
[10:17:14 AM] Project 'packages/core-preact/tsconfig.json' is out of date because output file 'packages/core-preact/tsc/vdom.js' does not exist
[10:17:14 AM] Building project '/var/tmp/fullcalendar/packages/core-preact/tsconfig.json'...
[10:17:16 AM] Project 'packages/common/tsconfig.json' is out of date because output file 'packages/common/tsc/CalendarApi.js' does not exist
[10:17:16 AM] Building project '/var/tmp/fullcalendar/packages/common/tsconfig.json'...
[10:17:19 AM] Project 'packages/core/tsconfig.json' is out of date because output file 'packages/core/tsc/Calendar.js' does not exist
[10:17:19 AM] Building project '/var/tmp/fullcalendar/packages/core/tsconfig.json'...
[10:17:20 AM] Project 'packages/interaction/tsconfig.json' is out of date because output file 'packages/interaction/tsc/ElementScrollGeomCache.js' does not exist
[10:17:20 AM] Building project '/var/tmp/fullcalendar/packages/interaction/tsconfig.json'...
[10:17:21 AM] Project 'packages/icalendar/tsconfig.json' is out of date because output file 'packages/icalendar/tsc/main.global.js' does not exist
[10:17:21 AM] Building project '/var/tmp/fullcalendar/packages/icalendar/tsconfig.json'...
[10:17:21 AM] Project 'packages/daygrid/tsconfig.json' is out of date because output file 'packages/daygrid/tsc/DayTable.js' does not exist
[10:17:21 AM] Building project '/var/tmp/fullcalendar/packages/daygrid/tsconfig.json'...
[10:17:22 AM] Project 'packages/timegrid/tsconfig.json' is out of date because output file 'packages/timegrid/tsc/AllDaySplitter.js' does not exist
[10:17:22 AM] Building project '/var/tmp/fullcalendar/packages/timegrid/tsconfig.json'...
[10:17:23 AM] Project 'packages/list/tsconfig.json' is out of date because output file 'packages/list/tsc/ListView.js' does not exist
[10:17:23 AM] Building project '/var/tmp/fullcalendar/packages/list/tsconfig.json'...
[10:17:23 AM] Project 'packages/bootstrap/tsconfig.json' is out of date because output file 'packages/bootstrap/tsc/main.global.js' does not exist
[10:17:23 AM] Building project '/var/tmp/fullcalendar/packages/bootstrap/tsconfig.json'...
[10:17:24 AM] Project 'packages/bootstrap5/tsconfig.json' is out of date because output file 'packages/bootstrap5/tsc/main.global.js' does not exist
[10:17:24 AM] Building project '/var/tmp/fullcalendar/packages/bootstrap5/tsconfig.json'...
[10:17:24 AM] Project 'packages/luxon2/tsconfig.json' is out of date because output file 'packages/luxon2/tsc/main.global.js' does not exist
[10:17:24 AM] Building project '/var/tmp/fullcalendar/packages/luxon2/tsconfig.json'...
[10:17:25 AM] Project 'packages/google-calendar/tsconfig.json' is out of date because output file 'packages/google-calendar/tsc/event-source-declare.js' does not exist
[10:17:25 AM] Building project '/var/tmp/fullcalendar/packages/google-calendar/tsconfig.json'...
[10:17:25 AM] Project 'packages/luxon/tsconfig.json' is out of date because output file 'packages/luxon/tsc/main.global.js' does not exist
[10:17:25 AM] Building project '/var/tmp/fullcalendar/packages/luxon/tsconfig.json'...
[10:17:25 AM] Project 'packages/moment/tsconfig.json' is out of date because output file 'packages/moment/tsc/main.global.js' does not exist
[10:17:25 AM] Building project '/var/tmp/fullcalendar/packages/moment/tsconfig.json'...
[10:17:26 AM] Project 'packages/moment-timezone/tsconfig.json' is out of date because output file 'packages/moment-timezone/tsc/main.global.js' does not exist
[10:17:26 AM] Building project '/var/tmp/fullcalendar/packages/moment-timezone/tsconfig.json'...
[10:17:26 AM] Project 'packages/rrule/tsconfig.json' is out of date because output file 'packages/rrule/tsc/event-declare.js' does not exist
[10:17:26 AM] Building project '/var/tmp/fullcalendar/packages/rrule/tsconfig.json'...
[10:17:27 AM] Project 'packages/__tests__/tsconfig.json' is out of date because output file 'packages/__tests__/tsc/main.js' does not exist
[10:17:27 AM] Building project '/var/tmp/fullcalendar/packages/__tests__/tsconfig.json'...
[10:17:31 AM] Project 'packages/bundle/tsconfig.json' is out of date because output file 'packages/bundle/tsc/main.js' does not exist
[10:17:31 AM] Building project '/var/tmp/fullcalendar/packages/bundle/tsconfig.json'...
error TS5083: Cannot read file '/var/tmp/fullcalendar/packages-premium/__tests__/tsconfig.json'.
error TS5083: Cannot read file '/var/tmp/fullcalendar/packages-premium/bundle/tsconfig.json'.
error TS5083: Cannot read file '/var/tmp/fullcalendar/packages-premium/resource-common/tsconfig.json'.
error TS5083: Cannot read file '/var/tmp/fullcalendar/packages-premium/resource-daygrid/tsconfig.json'.
error TS5083: Cannot read file '/var/tmp/fullcalendar/packages-premium/resource-timegrid/tsconfig.json'.
error TS5083: Cannot read file '/var/tmp/fullcalendar/packages-premium/resource-timeline/tsconfig.json'.
error TS5083: Cannot read file '/var/tmp/fullcalendar/packages-premium/scrollgrid/tsconfig.json'.
error TS5083: Cannot read file '/var/tmp/fullcalendar/packages-premium/timeline/tsconfig.json'.
error TS5083: Cannot read file '/var/tmp/fullcalendar/packages-premium/adaptive/tsconfig.json'.
Found 9 errors.
[10:17:31] 'tsc' errored after 18 s
[10:17:31] Error: shell command failed
at ChildProcess.<anonymous> (/var/tmp/fullcalendar/scripts/lib/shell.js:35:29)
at ChildProcess.emit (events.js:198:13)
at ChildProcess.EventEmitter.emit (domain.js:466:23)
at maybeClose (internal/child_process.js:982:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
[10:17:31] 'build' errored after 18 s

Related

Spring Starter with with Dependencies 'Spring Web' for Java 15 reports 'Failed to execute'

i downloadet
from
https://start.spring.io/
with Dependencies
Spring Web and
choosen Java 15
run mvn install
and got this error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project java15dependnciesWeb: Fatal error compiling: error: invalid target release: 15 -> [Help 1]`
i surprized. I thought it should be able to be installed out of the box. I using Ubuntu.
Something similar errors:
This sound a bit like this error:
Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.2.2.RELEASE:run
But this solution doesn't work for me:
https://stackoverflow.com/a/62742688/2891692
Tag name: version Description : The version of the parent project to inherit. Version : 4.0.0

Error - Expected ';' while running Gatling using sbt

I am running a Gatling test script using Jenkins on a Unix machine. The test and the Simulation passes successfully after which I am seeing the below error marked in bold below also causing the Jenkins build to fail.
Log from the Jenkins build
Reports generated in 0s.
Please open the following file: >/var/lib/jenkins/workspace/gatling_test_job/target/gatling/demoscript-20200930173820423/index.html
[info] Simulation DemoScript successful.
[info] Simulation(s) execution ended.
[success] Total time: 326 s (05:26), completed Sep 30, 2020 5:43:32 PM
>[error] Expected ';'
[error] com.test.performance.DemoScript
[error] ^
Build step 'Build using sbt' changed build result to FAILURE
Build step 'Build using sbt' marked build as failure
I am using build using sbt block in my Jenkins job to trigger the test using the below command
gatling:testOnly com.test.performance.DemoScript
Scala Version is - 2.12.10
Gatling and related libraries - 3.3.1
Build using sbt config in Jenkins
sbt installation in global tool configuration

How to authenticate Node.js MongoClient against Cosmos DB emulator running in VM?

I'm on OS X and I'm trying to use the Node.js-based MongoClient to connect to a CosmosDB emulator running in a Parallels VM. I'm able to get it to connect, but queries fail with an authentication error.
I looked at this document first, but I had to modify it a little to get my host machine to connect to the VM:
Microsoft.Azure.Cosmos.Emulator.exe /AllowNetworkAccess /EnableMongoDbEndpoint /Key=C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==
My connection string:
mongodb://vm1:C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==#vm1:10255/admin?ssl=true
After I was able to get it to connect, I couldn't figure out how to provide the equivalent of the ServerCertificateCustomValidationCallback using the MongoClient.
The authentication error message I get:
[8/31/19 12:40:54 AM] System.Private.CoreLib: Exception while executing function: Functions.datasets. System.Private.CoreLib: Result: Failure
[8/31/19 12:40:54 AM] Exception: MongoError: Authentication Failed. ConnectionId 1a87b001-e1e6-4918-9a1c-92db5719c670 ActivityId: 8c071a01-0000-0000-0000-000000000000
[8/31/19 12:40:54 AM] Stack: MongoError: Authentication Failed. ConnectionId 1a87b001-e1e6-4918-9a1c-92db5719c670 ActivityId: 8c071a01-0000-0000-0000-000000000000
[8/31/19 12:40:54 AM] at /Users/Documents/Projects/DataStore/node_modules/mongodb-core/lib/connection/pool.js:598:61
[8/31/19 12:40:54 AM] at authenticateStragglers (/Users/Documents/Projects/DataStore/node_modules/mongodb-core/lib/connection/pool.js:516:16)
[8/31/19 12:40:54 AM] at Connection.messageHandler (/Users/Documents/Projects/DataStore/node_modules/mongodb-core/lib/connection/pool.js:552:5)
[8/31/19 12:40:54 AM] at emitMessageHandler (/Users/Documents/Projects/DataStore/node_modules/mongodb-core/lib/connection/connection.js:309:10)
[8/31/19 12:40:54 AM] at TLSSocket.<anonymous> (/Users/Documents/Projects/DataStore/node_modules/mongodb-core/lib/connection/connection.js:452:17)
[8/31/19 12:40:54 AM] at TLSSocket.emit (events.js:182:13)
[8/31/19 12:40:54 AM] at addChunk (_stream_readable.js:283:12)
[8/31/19 12:40:54 AM] at readableAddChunk (_stream_readable.js:264:11)
[8/31/19 12:40:54 AM] at TLSSocket.Readable.push (_stream_readable.js:219:10)
[8/31/19 12:40:54 AM] at TLSWrap.onStreamRead (internal/stream_base_commons.js:94:17).
I got this working with this connection string:
mongodb://localhost:C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==#vm1:10255/admin?ssl=true
Note that localhost is still used as the username. vm1 is specified as the machine name after #.

Java Application Runs on Production, but not on Local Weblogic Server

For security/privacy issues, the application name has been replaced with ~application~; there are 5 projects within the application: the first project name has been replaced with ~project1~, all other project names have stayed unchanged, Model, RM-Model, ViewController, and WebServices. File location username has been replaced with ~user~. Packages and maps have been replaced with ~package~.~map~; credential name has been replaced with ~credential~; and webapp name has been replaced with ~webapp-name~. All other names i.e. classes, servers, symbols, and methods within the error log have remained unchanged.
All libraries, methods, servlets, actual application and project names are present on a production server, also, no compilation errors are present during the build process. This error only exists once the application reaches the deployment stage of the build process.
There are limits in place, Java JDK 1.6, JDeveloper 11g, and Weblogic 10.3; there are a few others, not related to this issue. Below is the console log during the build:
[Running application ~application~ on Server Instance IntegratedWebLogicServer...]
[05:51:50 AM] Web Module ~project1~WebApp.war recognized in project ~project1~.jpr
[05:51:50 AM] EJB Module ModelEJB.jar recognized in project Model.jpr
[05:51:50 AM] EJB Module RM-ModelEJB.jar recognized in project RM-Model.jpr
[05:51:50 AM] Web Module ViewControllerWebApp.war recognized in project ViewController.jpr
[05:51:50 AM] Web Module WebServicesWebApp.war recognized in project WebServices.jpr
[05:51:50 AM] ---- Deployment started. ----
[05:51:50 AM] Target platform is (Weblogic 10.3).
[05:51:53 AM] Retrieving existing application information
[05:51:53 AM] Running dependency analysis...
[05:51:53 AM] Deploying 6 profiles...
[05:51:54 AM] Wrote Web Application Module to C:\Users\~user~\AppData\Roaming\JDeveloper\system11.1.2.4.39.64.36.1\o.j2ee\drs\~application~\WebServicesWebApp.war
[05:52:12 AM] Wrote Web Application Module to C:\Users\~user~\AppData\Roaming\JDeveloper\system11.1.2.4.39.64.36.1\o.j2ee\drs\~application~\ViewControllerWebApp.war
[05:52:12 AM] Wrote EJB Module to C:\Users\~user~\AppData\Roaming\JDeveloper\system11.1.2.4.39.64.36.1\o.j2ee\drs\~application~\RM-ModelEJB.jar
[05:52:12 AM] Wrote EJB Module to C:\Users\~user~\AppData\Roaming\JDeveloper\system11.1.2.4.39.64.36.1\o.j2ee\drs\~application~\ModelEJB.jar
[05:52:12 AM] Wrote Web Application Module to C:\Users\~user~\AppData\Roaming\JDeveloper\system11.1.2.4.39.64.36.1\o.j2ee\drs\~application~\~project1~WebApp.war
[05:52:13 AM] Warning: Unresolved element deleted from application.xml
[05:52:13 AM] Warning: Unresolved element deleted from application.xml
[05:52:13 AM] Warning: Unresolved element deleted from application.xml
[05:52:13 AM] Warning: Unresolved element deleted from application.xml
[05:52:13 AM] Warning: Unresolved element deleted from application.xml
[05:52:13 AM] Wrote Enterprise Application Module to C:\Users\~user~\AppData\Roaming\JDeveloper\system11.1.2.4.39.64.36.1\o.j2ee\drs\~application~
[05:52:13 AM] Deploying Application...
Cannot migrate credential folder/key ~application~.~package~.~map~/anonymous#~credential~.Reason oracle.security.jps.service.credstore.CredentialAlreadyExistsException: JPS-01007: The credential with map ~application~.~package~.~map~ and key anonymous#~credential~ already exists..
Cannot migrate credential folder/key ~application~.~package~.~map~/anonymous#local.Reason oracle.security.jps.service.credstore.CredentialAlreadyExistsException: JPS-01007: The credential with map ~application~.~package~.~map~ and key anonymous#local already exists..
'weblogic.application.ModuleException: Failed to load webapp: '~webapp-name~-context-root''
weblogic.application.ModuleException: Failed to load webapp: '~webapp-name~-context-root'
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: ~package~.~map~.SearchServlet
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
Truncated. see log file for complete stacktrace >
weblogic.application.ModuleException: Failed to load webapp: '~webapp-name~-context-root'
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: ~package~.~map~.SearchServlet
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
Truncated. see log file for complete stacktrace >
[05:52:18 AM] Deployment cancelled.
[05:52:18 AM] ---- Deployment incomplete ----.
[05:52:18 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
Cannot run application ~application~ due to error deploying to IntegratedWebLogicServer.
[Application ~application~ stopped and undeployed from Server Instance IntegratedWebLogicServer]
My question is, how do I resolve this issue, the SearchServlet exists in the first project and there are no compilation errors and no other hangups during the run sequence until it actually reached the deployment stage. Also on the admin console for the Weblogic server, the application shows up as a failed deployment but clears away during next attempted build. Thank you in advance for any help getting this application to successfully run.
Compiling 4 sources
Compiling ~\TransferServlet.java
Compiling ~\SearchServlet.java
Compiling ~\~servlet1~.java
Compiling ~\~servlet2~.java
Writing ~\TransferServlet.class
Writing ~\~servlet1~.class
Writing ~\SearchServlet.class
Writing ~\~servlet2~.class
[7:47:42 AM] Appc compilation begin
Compiling out of process...
[7:47:45 AM] Appc compilation end
Nothing to build.
Nothing to build.
[7:47:46 AM] Appc compilation begin
Compiling out of process...
[7:47:50 AM] Appc compilation end
[7:47:50 AM] Successful compilation: 0 errors, 0 warnings.
Caused By: java.lang.ClassNotFoundException: ~package~.~map~.SearchServlet
Your application is missing a SearchServlet.class .

flexunit on jenkins server --- ant unable to build without error

I have already installed vncserver, flex sdk 4.6 and xvnc plugin in my jenkins.
Not sure what else i need to do.
This is my last build error message from jenkins
Building in workspace <http://example.com:8080/job/flexproject%20develop/ws/>
Checkout:flexproject develop / <http://example.com:8080/job/flexproject%20develop/ws/> - hudson.remoting.LocalChannel#78da5318
Using strategy: Default
Last Built Revision: Revision 6eca1f87e583b1b7a99825ff075f2e4e4f3b87ea (origin/develop)
Fetching changes from 1 remote Git repository
Fetching upstream changes from git#github.com:simkimsia/STORYBOT.git
Commencing build of Revision 6eca1f87e583b1b7a99825ff075f2e4e4f3b87ea (origin/develop)
Checking out Revision 6eca1f87e583b1b7a99825ff075f2e4e4f3b87ea (origin/develop)
Starting xvnc
[flexproject develop] $ vncserver :16
New 'web1:16 (jenkins)' desktop is web1:16
Starting applications specified in /var/lib/jenkins/.vnc/xstartup
Log file is /var/lib/jenkins/.vnc/web1:16.log
[flexproject develop] $ ant
Buildfile: <http://example.com:8080/job/flexproject%20develop/ws/build.xml>
[taskdef] Could not load definitions from resource flexTasks.tasks. It could not be found.
clean-all:
[delete] Deleting <http://example.com:8080/job/flexproject%20develop/ws/build/output/unit/generated-flexunit-config.xml>
[delete] Deleting <http://example.com:8080/job/flexproject%20develop/ws/build/output/unit>
[delete] Deleting <http://example.com:8080/job/flexproject%20develop/ws/build/output/report/flexunit>
[delete] Deleting <http://example.com:8080/job/flexproject%20develop/ws/build/output/report>
clean:
[echo] Storybot :: clean finished.
test-air:
[copy] Copying 1 file to <http://example.com:8080/job/flexproject%20develop/ws/build/output/unit>
[echo] run-flexunit :: setting FLEX_HOME to ${env.FLEX_HOME}
[mkdir] Created dir: <http://example.com:8080/job/flexproject%20develop/ws/build/output/report/flexunit>
BUILD FAILED
<http://example.com:8080/job/flexproject%20develop/ws/buildsupport/target/test-air.xml>:4: The following error occurred while executing this line:
<http://example.com:8080/job/flexproject%20develop/ws/buildsupport/base/base-macros.xml>:212: The following error occurred while executing this line:
<http://example.com:8080/job/flexproject%20develop/ws/buildsupport/base/base-macros.xml>:174: Please specify, or verify the location for, the FLEX_HOME property. It is required when testing with 'air' as the player or when using the 'testSource' element. It should point to the installation directory for a Flex SDK.
Total time: 2 seconds
Build step 'Invoke Ant' marked build as failure
Terminating xvnc.
$ vncserver -kill :16
Killing Xvnc4 process ID 28784
Recording test results
inside my workspace project, i ran ant build.xml
i get
jenkins#web1:~/workspace/flexproject$ ant build.xml
Buildfile: /var/lib/jenkins/workspace/flexproject/build.xml
[taskdef] Could not load definitions from resource flexTasks.tasks. It could not be found.
BUILD FAILED
Target "build.xml" does not exist in the project "flexproject".
Total time: 2 seconds
int he same folder when i run ant
i get
Buildfile: /var/lib/jenkins/workspace/flexproject/build.xml
[taskdef] Could not load definitions from resource flexTasks.tasks. It could not be found.
clean-all:
[delete] Deleting /var/lib/jenkins/workspace/flexproject/build/output/unit/generated-flexunit-config.xml
[delete] Deleting /var/lib/jenkins/workspace/flexproject/build/output/unit
[delete] Deleting /var/lib/jenkins/workspace/flexproject/build/output/report/flexunit
[delete] Deleting /var/lib/jenkins/workspace/flexproject/build/output/report
clean:
[echo] Storybot :: clean finished.
test-air:
[copy] Copying 1 file to /var/lib/jenkins/workspace/flexproject/build/output/unit
[echo] run-flexunit :: setting FLEX_HOME to /opt/flex
[mkdir] Created dir: /var/lib/jenkins/workspace/flexproject/build/output/report/flexunit
BUILD FAILED
/var/lib/jenkins/workspace/flexproject/buildsupport/target/test-air.xml:4: The following error occurred while executing this line:
/var/lib/jenkins/workspace/flexproject/buildsupport/base/base-macros.xml:212: The following error occurred while executing this line:
/var/lib/jenkins/workspace/flexproject/buildsupport/base/base-macros.xml:174: Could not create test runner from template.
Please advise.
Thank you.
Could not load definitions from resource flexTasks.task
hints that you missed to set the path to your flex4.6 directory (lib/*.jar inside) correctly.

Resources