Skip to content
This repository has been archived by the owner on Dec 10, 2022. It is now read-only.

How to build it? #295

Open
zaoqi-unsafe opened this issue Mar 22, 2019 · 7 comments
Open

How to build it? #295

zaoqi-unsafe opened this issue Mar 22, 2019 · 7 comments
Labels

Comments

@zaoqi-unsafe
Copy link

No description provided.

@intrigus
Copy link
Contributor

Did you have a look at http://docs.jtransc.com/usage/gradle?

@ansorre
Copy link

ansorre commented Apr 17, 2019

Please, seriously: how to build this thing?
Yes I had a look at http://docs.jtransc.com/usage/gradle
And so? There is no single instruction step, nothing at all is said about what has to be done.

Ok, maybe it's just me because I don't know gradle. But even if I run gradle in
jtransc-master\jtransc-gradle-plugin\example
or even in:
jtransc-master\jtransc-gradle-plugin
the only result I get is a bunch of errors ending with:
BUILD FAILED in 3s

Ok, so I tried the command line method: http://docs.jtransc.com/usage/commandline
I went to
jtransc-master\jtransc-main-run
and run
jtransc.bat

But again this time it seems it's maven to not be happy, I just get this:
[ERROR] Failed to execute goal on project jtransc-main-run: Could not resolve dependencies for project com.jtransc:jtransc-main-run:jar:0.6.9-SNAPSHOT: Could not find artifact com.jtransc:jtransc-main:jar:0.6.9-SNAPSHOT -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

Please seriously: how to build this thing?

I know this is all free and nothing is really owed by the author and we users should only be thankful that the author work is freely shared here. And in fact I'm really grateful for JTransc. Reading the website this projects seems to me extremely interesting and surely very usefull.

But, please, can I ask a simple question without any troll intention?

Well, I am a Java developer since 1997. I wrote millions of lines of code in Java, I even exited some of my startups to very big companies around the world, selling them the company with all the technology I've wrote in Java. In all these years, I swear on my life, I've never, ever, ever needed to use any maven, gradle or any other damn hell building tool at all, and in many cases I was the head of a large team of developers. The best good Java IDEs are all free nowadays and they are incredibly good at compiling even very complex projects with a lot of dependencies. And you also seem to use Intellij IDEA which is also my favourite Java IDE, by the way. So why, pleasy, oh why, really, please, for the sake of god, why people don't just put in the repository their own IDE project files and get free them and us all from these damn mess of hell tools like maven and gradle and the like? It's a fact: 9 out of 10 project that use this kind of tools are 99% of the time just plain simple inevitably NOT buildable AT ALL. You can install the whole world, they DO NOT build, NO WAY, THEY WON'T! Just give us your own IDEA project files, please. If you can build with your IDE there is 100% probability it will build like a charm at the very first try even for us.

Sorry for the rant, but I'm very very frustrated when I meet maven or gradle. This time, I even met the both of two in the same project. No, please, no, no, no!

So, to conclude, please seriously: how to build this thing?

@autaut03
Copy link

autaut03 commented Mar 9, 2020

@ansorre

Sorry, but I have to address you. Your post triggers me.

The fact you "never ever needed" a building tool doesn't mean no one does. All it means is that you wrote millions of lines of code for simple projects with couple dependencies, never had a pipeline, never ran tests and never worked in a team. The fact you suggested to put author's IDEA files into git project makes my last statement concrete, because you would know that IDEA saves a ton of user AND environment specific information/configuration which you should NEVER commit if you're not alone on the project. Whole world uses Maven/Gradle, including new projects. They aren't the problem, it's you.

And given you couldn't simply read the errors gradle gave you, the lack of common dev knowledge, your crappy code in your profile and, most importantly, the fact you dedicated two whole lines of text saying how great were your startups at big companies, I think it would be fair to say you haven't been developing since 1997. More like you've been stuck in 1997 and haven't wrote a single real world enterprise application since then.

@ansorre
Copy link

ansorre commented Mar 10, 2020

@autaut03

The fact you "never ever needed" a building tool doesn't mean no one does.

Surely no ones needs a building process that does not work. And needing two different building systems in the same project sounds at least strange to me.

All it means is that you wrote millions of lines of code for simple projects with couple dependencies, never had a pipeline, never ran tests and never worked in a team.

As you know, you are surely free to believe what you want.

The fact you suggested to put author's IDEA files into git project makes my last statement concrete, because you would know that IDEA saves a ton of user AND environment specific information/configuration which you should NEVER commit if you're not alone on the project.

There are intelligent ways to share IDE project files, and less intelligent ones.

Whole world uses Maven/Gradle, including new projects. They aren't the problem, it's you.

I don't complain when they works. In fact, as a matter of fact when they work it's also very easy to migrate the building, testing, pre-production and production deployments to a system a company is already using.

Anyway, as I said, I know this is all free and nothing is owed by the developers. However, I consider significant that you preferred to invest your time in evaluating (very superficially and in an offensive way) my software, my free opinions, the size (which you suppose) my development teams had, and mocking my personal successes (such as having sold my startups to TripAdvisor and the like, all startups for which I wrote the software) and yet you could not find even a second to respond even briefly to any of the points that I had very politely exposed in my post.
Interesting people are on this planet, you surely seems one of those to me.
Good bye.

@ansorre
Copy link

ansorre commented Mar 10, 2020

@autaut03

By the way I also reported on Google Safe Browsing your malicious url , exposed a few messages above supposedly to offer build instruction, the one ending with ....ransc.com/usage/gradle, since it landed me on a ransomware website.

@autaut03
Copy link

@ansorre My malicious URL? I have nothing to do with the repository, I'm a stranger passing by, and there's nothing in my profile, so I don't understand what you're talking about.

Either way.

There are intelligent ways to share IDE project files, and less intelligent ones.
I have tried doing it one of the "intelligent ways" IDEA recommends. I wanted to simply share IDEA file templates across the team, so I disabled .gitignore for that folder and committed. It then messed up some of the project settings on my machine and didn't do anything on team members' machines. I have also researched a way to commit a configuration for some of the IDEA inspections, but sadly IDEA puts everything into one configuration file and doesn't provide a way to merge it with an overwritten one.

So both times I tried doing something with "the intelligent way" it didn't work. To be honest, I've never tried bringing building configuration from IDEA into the repository, but I doubt it's any better.

You've tried to prove your point that "build systems aren't needed" based on the facts you presented about yourself and your work, so I addressed it. Thing is - I don't care if it's offensive or not as long as it's supported by arguments. In my case I've supported my point by simply looking at your open-sourced repositories.

There was only one other point

any of the points that I had very politely exposed in my post.
you've provided us with, and that is
The best good Java IDEs are all free nowadays and they are incredibly good at compiling even very complex projects with a lot of dependencies
which I have responded to. IDE does not and should not replace a build system. I still do not understand how would you build something on a pipeline where there's no IDE. And how do you update your dependencies? Replacing files by hand and committing them?

Lots of open questions. Even if all that is somehow possible in IDEA, why would you choose that over a common standard solution that doesn't works as good at worst?

@ansorre
Copy link

ansorre commented Mar 11, 2020

@autaut03

There are intelligent ways to share IDE project files, and less intelligent ones.
I have tried doing it one of the "intelligent ways" IDEA recommends. I wanted to simply share IDEA file templates across the team, so I disabled .gitignore for that folder and committed. It then messed up some of the project settings on my machine and didn't do anything on team members' machines. I have also researched a way to commit a configuration for some of the IDEA inspections, but sadly IDEA puts everything into one configuration file and doesn't provide a way to merge it with an overwritten one.

So you don't know how to do it. It's not IDEs problem, it's you.

Anyway this thread was started by someone who asked how to build this project, which is in fact impossibile, and the supposed building mechanics requires well two different building systems, and I pointed out that this is frustrating and unnecessary.

For having expressed this opinions in a polite way a passing by stranger, which has nothing to do with the repository, and so I could imagine that probably has never even tried to build it, felt obliged to attack me personally also defining my own work "your crappy code in your profile" that most probably he has never even downloaded and tried out, saying instead that " I don't care if it's offensive or not as long as it's supported by arguments." And most of all, which are these supposed "arguments"? Answer: "by simply looking at your open-sourced repositories."
So you by simply looking at my open-sourced repositories, which you did not even try, and also demonstrating from what you just wrote to not even be able to share IDEs project files, and most probably not even understanding anything at all about my code, you are proving, and most of all you are "supporting with arguments", that my code is crappy?
Well, if it is true, it's exactly the same as saying that whatever you look at is automatically "crappy".
I think this says enough, Mister, about you and your posts and your behavior in general.

One last thing:

Lots of open questions. Even if all that is somehow possible in IDEA, why would you choose that over a common standard solution that doesn't works as good at worst?

Because "it does not build", and it's not only me who says this, I did not start this thread. What part of the sentence "it does not build" are you finding so hard to understand? If there were project files it would have been way easier to solve the building problem and maybe even contributing a better system to build it, based on IDEs project files or not, but surely getting rid of a two building systems mechanism.

@soywiz-archive soywiz-archive locked as off-topic and limited conversation to collaborators Mar 11, 2020
@soywiz-archive soywiz-archive unlocked this conversation Mar 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants