<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic API java generate source yields error from stone in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-java-generate-source-yields-error-from-stone/m-p/410138#M1119</link>
    <description>&lt;P&gt;I've read about how to build source in java from: &lt;A href="https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-Java-missing-source-files/m-p/226879" target="_blank" rel="noopener"&gt;https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-Java-missing-source-files/m-p/226879&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However I follow the steps and it looks like the stone usage from within the build is not running properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My log from gitbash:&lt;/P&gt;&lt;PRE&gt;jan.lacdao@Jan-Lacdao MINGW64 ~/Downloads/dbox/dropbox-sdk-java (master)
$ ./gradlew build
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details

&amp;gt; Configure project :
Set JDK6_HOME environment to disable boot classpath warnings.

&amp;gt; Task :generateStone FAILED
C:\Users\jan.lacdao\Downloads\dbox\dropbox-sdk-java\stone\stone\cli.py:8: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp
error: Specification 'C:\Users\jan.lacdao\Downloads\dbox\dropbox-sdk-java\build\generated\source\stone\main\src' must have a .stone extension.

FAILURE: Build failed with an exception.

* Where:
Script 'C:\Users\jan.lacdao\Downloads\dbox\dropbox-sdk-java\stone.gradle' line: 78

* What went wrong:
Execution failed for task ':generateStone'.
&amp;gt; Process 'command 'python'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 8s
1 actionable task: 1 executed&lt;/PRE&gt;&lt;P&gt;Anyone can help here? Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Apr 2020 04:08:48 GMT</pubDate>
    <dc:creator>jnlcd</dc:creator>
    <dc:date>2020-04-15T04:08:48Z</dc:date>
    <item>
      <title>API java generate source yields error from stone</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-java-generate-source-yields-error-from-stone/m-p/410138#M1119</link>
      <description>&lt;P&gt;I've read about how to build source in java from: &lt;A href="https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-Java-missing-source-files/m-p/226879" target="_blank" rel="noopener"&gt;https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-Java-missing-source-files/m-p/226879&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However I follow the steps and it looks like the stone usage from within the build is not running properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My log from gitbash:&lt;/P&gt;&lt;PRE&gt;jan.lacdao@Jan-Lacdao MINGW64 ~/Downloads/dbox/dropbox-sdk-java (master)
$ ./gradlew build
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details

&amp;gt; Configure project :
Set JDK6_HOME environment to disable boot classpath warnings.

&amp;gt; Task :generateStone FAILED
C:\Users\jan.lacdao\Downloads\dbox\dropbox-sdk-java\stone\stone\cli.py:8: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp
error: Specification 'C:\Users\jan.lacdao\Downloads\dbox\dropbox-sdk-java\build\generated\source\stone\main\src' must have a .stone extension.

FAILURE: Build failed with an exception.

* Where:
Script 'C:\Users\jan.lacdao\Downloads\dbox\dropbox-sdk-java\stone.gradle' line: 78

* What went wrong:
Execution failed for task ':generateStone'.
&amp;gt; Process 'command 'python'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 8s
1 actionable task: 1 executed&lt;/PRE&gt;&lt;P&gt;Anyone can help here? Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 04:08:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-java-generate-source-yields-error-from-stone/m-p/410138#M1119</guid>
      <dc:creator>jnlcd</dc:creator>
      <dc:date>2020-04-15T04:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: API java generate source yields error from stone</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-java-generate-source-yields-error-from-stone/m-p/410340#M1124</link>
      <description>&lt;P&gt;Have you made any changes to the Java SDK project? If so, can you let me know what?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, for reference, if you don't need to make changes we recommend that you don't build from source. If you don't need to make changes it's much easier to use one of the pre-built releases, e.g., &lt;A href="https://github.com/dropbox/dropbox-sdk-java#setup" target="_self"&gt;via Maven or Gradle as documented here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 15:33:09 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-java-generate-source-yields-error-from-stone/m-p/410340#M1124</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-04-15T15:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: API java generate source yields error from stone</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-java-generate-source-yields-error-from-stone/m-p/410617#M1126</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the prompt response. I haven't been maintaining much of our code but it seems that the previous maintainer was adding custom logging upon each retry from the v2 client classes and perhaps adding another class to inherit might be the better approach.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regardless I think I am good with my setup now and I am good to close this ticket.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 03:36:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-java-generate-source-yields-error-from-stone/m-p/410617#M1126</guid>
      <dc:creator>jnlcd</dc:creator>
      <dc:date>2020-04-16T03:36:29Z</dc:date>
    </item>
  </channel>
</rss>

