# \#gradle-2698

**URL:** https://discuss.gradle.org/tag/gradle-2698/147.md

[Latest](https://discuss.gradle.org/latest.md) · [Categories](https://discuss.gradle.org/categories.md) · [Tags](https://discuss.gradle.org/tags.md)

---

## [Unable to add war file to uberJar using gradle](https://discuss.gradle.org/t/unable-to-add-war-file-to-uberjar-using-gradle/26226)

<div class="topic-metadata">

**Author:** [@badrinana](https://discuss.gradle.org/u/badrinana)\
**Replies:** 0\
**Last updated:** [March 13, 2018, 8:49pm UTC](https://discuss.gradle.org/t/unable-to-add-war-file-to-uberjar-using-gradle/26226 "2018-03-13T20:49:57Z")

</div>

I am trying to create uberJar which comprises jars, war. When the uberJar is created, I don’t see war file from Module3. I see Module3.jar added to /lib. Is there a way to get Module3.war file to lib? RootProject | | …

---

## [Compile or build Library's build.gradle file when we compile or build Main project](https://discuss.gradle.org/t/compile-or-build-librarys-build-gradle-file-when-we-compile-or-build-main-project/25215)

<div class="topic-metadata">

**Author:** [@developer\_beeline](https://discuss.gradle.org/u/developer_beeline)\
**Replies:** 2\
**Last updated:** [December 22, 2017, 6:11am UTC](https://discuss.gradle.org/t/compile-or-build-librarys-build-gradle-file-when-we-compile-or-build-main-project/25215 "2017-12-22T06:11:29Z")

</div>

Hello All, Can anyone help me to solve this question? I am having one Library Project which is developed by me, inside Library, in gradle file I have mentioned one specific task, like show the root project and library …

---

## [How to configure gradle to use mutiple environments and databases](https://discuss.gradle.org/t/how-to-configure-gradle-to-use-mutiple-environments-and-databases/23678)

<div class="topic-metadata">

**Author:** [@bamishr](https://discuss.gradle.org/u/bamishr)\
**Replies:** 1\
**Last updated:** [August 11, 2017, 9:07pm UTC](https://discuss.gradle.org/t/how-to-configure-gradle-to-use-mutiple-environments-and-databases/23678 "2017-08-11T21:07:15Z")

</div>

i have to covert the profiles and properties of maven to Gradle. in below pom given values are dev environment and db as postgresql and it will run mvn install -Pdev,postgresql. How do i convert the same in gradle. ac…

---

## [How to write an Ant tag "JWSC to Gradle?](https://discuss.gradle.org/t/how-to-write-an-ant-tag-jwsc-to-gradle/18860)

<div class="topic-metadata">

**Author:** [@jiz5163](https://discuss.gradle.org/u/jiz5163)\
**Replies:** 12\
**Last updated:** [August 14, 2016, 9:05pm UTC](https://discuss.gradle.org/t/how-to-write-an-ant-tag-jwsc-to-gradle/18860 "2016-08-14T21:05:29Z")

</div>

\<jwsc srcdir="src" destdir="dist" debug="true" classpathref="classpath"\>

---

## [Error when trying to input multiple Ant prefix attribute in gradle script](https://discuss.gradle.org/t/error-when-trying-to-input-multiple-ant-prefix-attribute-in-gradle-script/18803)

<div class="topic-metadata">

**Author:** [@jiz5163](https://discuss.gradle.org/u/jiz5163)\
**Replies:** 0\
**Last updated:** [August 3, 2016, 2:21pm UTC](https://discuss.gradle.org/t/error-when-trying-to-input-multiple-ant-prefix-attribute-in-gradle-script/18803 "2016-08-03T14:21:13Z")

</div>

Problem No such property: prefix for class: org.gradle.api.task.bundling.War\_Decorated. I am trying to convert my ant script to Gradle but I am stuck at the zipfileset with the prefix attribute. Ant Script \<war de…

---

## [Build failed for phantomjs](https://discuss.gradle.org/t/build-failed-for-phantomjs/12108)

<div class="topic-metadata">

**Author:** [@SVNKR](https://discuss.gradle.org/u/SVNKR)\
**Replies:** 0\
**Last updated:** [October 9, 2015, 7:36am UTC](https://discuss.gradle.org/t/build-failed-for-phantomjs/12108 "2015-10-09T07:36:49Z")

</div>

Hi, When trying to build my javascript application using gradle , it is failing with error "A problem occurred starting process 'command 'phantomjs.cmd''. PhantomJs -version : 2.0.0 Gradle -version: 2.6 Groovy: 2.3…

---

## [How to preserve time stamps of copy from a zipTree?](https://discuss.gradle.org/t/how-to-preserve-time-stamps-of-copy-from-a-ziptree/9707)

<div class="topic-metadata">

**Author:** [@carlo\_lf](https://discuss.gradle.org/u/carlo_lf)\
**Replies:** 3\
**Last updated:** [May 21, 2015, 8:46pm UTC](https://discuss.gradle.org/t/how-to-preserve-time-stamps-of-copy-from-a-ziptree/9707 "2015-05-21T20:46:28Z")

</div>

Continuing the discussion from Copy task does not preserve original file creation and modification time: This question is unresolved / not answered. Because I’m stumbling over the same problem, I want to ask again: is t…

---

## [Copy task does not preserve original file creation and modification time](https://discuss.gradle.org/t/copy-task-does-not-preserve-original-file-creation-and-modification-time/1395)

<div class="topic-metadata">

**Author:** [@Pavel\_Trka](https://discuss.gradle.org/u/Pavel_Trka)\
**Replies:** 2\
**Last updated:** [July 28, 2014, 1:40pm UTC](https://discuss.gradle.org/t/copy-task-does-not-preserve-original-file-creation-and-modification-time/1395 "2014-07-28T13:40:00Z")

</div>

Hello, I have problem with Copy task - it is not preserving original file date/time modification time attributes, copied files have all newly set creation/modification time. I know I can use Ant task (although I didn…
