eclipse


Gradle tasks not shown in eclipse BuildShip plugin


I've written these tasks:
task createQAWar(type: War, dependsOn: classes) {
...
}
task createDevelopmentWar(type: War, dependsOn: classes) {
...
}
task createProductionWar(type: War, dependsOn: classes) {
...
}
task createDists(dependsOn: [createQAWar, createDevelopmentWar, createProductionWar])
I've imported project using BuildShip eclipse plugin. As you can see, they are not listed on available tasks:
Why do these tasks are not detected?
I'm trying to solve another problem related with that. In order to perform any of above tasks, I'm performing them from console. However:
PS D:\projects\living\platform\commty> gradle createQAWar
Starting a Gradle Daemon, 2 incompatible and 1 stopped Daemons could not be reused, use --status for details
FAILURE: Build failed with an exception.
* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/3.0/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=4g; support was removed in 8.0
ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750]
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Provide group and description properties for your tasks.
task createQAWar(type: War, dependsOn: classes) {
group = 'myGroup'
description = 'my description'
...
}
After changing your build.gradle you must 1.) gradle-refresh the project and 2.) refresh the TasksView

Related Links

Feedback from eclipse plugin?
install Apache common lang 2.5 in Eclipse
Eclipse - how to distribute eclipse metadata to team members
Where eclipse stores information about jars associated with a Library
Which tools to use for Grails Development
Plugin product VS Feature product
test maven web module in eclipse and tomcat
Eclipse RCP: How to troubleshoot plugin dependencies & classpath problems?
change the backgoroun images dynamically in blackberry eclipse
Refactoring in eclipse: how to add field,getter,setter to all implementations of an interface?
How to show images in the place of label in black berry screen using eclips plugin
Use gdb console in Eclipse
Eclipse editor show variable occurrence
How to restore a specific folder in Eclipse SVN
In Equinox is it possible to for one feature/bundle to obsolete another?
Is it possible to use Eclipse with Pydev without having rights to run programs in cmd?

Categories

HOME
service-worker
batch-file
sonarqube
notepad++
assembly
facebook-oauth
c++11
redux-form
flex
serialization
components
replace
seo
emscripten
jax-ws
gluon-mobile
nstableheaderview
joomla3.0
owin
plist
redis-sentinel
jxl
spring-social
symmetricds
topology
poedit
ksh
exploit
corpus
nstimer
apktool
exchangewebservices
browser-sync
uitapgesturerecognizer
eviews
testbed
playstation-portable
hreflang
hunspell
python-import
reactivekit
protein-database
gdata
chef-solo
hackintosh
plaintext
levenshtein-distance
apriori
wmp
flask-login
linter
jquery-ui-draggable
spring-integration-sftp
wpas
yii2-user
template-toolkit
cudd
nikeplus-api
mapinfo
scaffolding
delta
google-query-language
deep
turbo-prolog
ellucian-scribe
database-relations
thread-sleep
grass
qbxml
jbase
spring-retry
iokit
vigenere
ember-cli-rails
atoi
viola-jones
apache-commons-daemon
telepat
entity-framework-4.3
cosine-similarity
addressing-mode
sql-scripts
nsmenu
ss7
rcaller
notorm
dtmf
mysql-error-2013
joomla3.1
tree-balancing
josql
cgimage
urlrewriter
android-holo-everywhere
google-floodlight
addchild
tui
fail-fast-fail-early
software-lifecycle
online-storage

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App