When you write a Gradle build file, you are actually writing Groovy code. We don't need to get too deep into Groovy and the way it implements Domain Specific Languages (DSLs), but when you declare a...
Type: Posts; User: r-senior; Keyword(s):
When you write a Gradle build file, you are actually writing Groovy code. We don't need to get too deep into Groovy and the way it implements Domain Specific Languages (DSLs), but when you declare a...
Good progress!
Some suggestions for your build.gradle ...
1. Be careful with typing. On line 3 you have "eclipse-twp" but this should be "eclipse-wtp". On line 18, you have "repositiroes" but...
I don't know why that would be. What version of gradle are you running and when do you get this message?
Could you post the output of "ls -R" from the root of your project so that I can see the...
Doing the same thing with Gradle is slightly easier:
Assuming you have gradle installed ...
$ cd ~/Desktop
$ mkdir downloadGradle
Create 'build.gradle' with the following:
I still recommend converting your project to a Gradle build, but if you really want to use Maven to get the JAR files, you can do it. (I was curious).
Assuming you have maven installed ...
$...
What level of optimization are you using? What happens if you add -Og to the options?
OK, good. The reason I asked about EJB, i.e. a full Java EE application is that they are a bit more difficult. If it's a Java web application that's easier.
Java web applications really benefit...
You can use Maven to fetch dependencies, but usually in conjunction with Maven building your project.
When you say Java EE web project, are you using EJBs? Or is this just a Java web project using...
Yes, mvn compile builds your project from its source. It brings in all the dependencies as JAR files, adds them to your classpath and runs javac to compile your sources.
Maybe we should go back a...
That's not quite how you use Maven in practice.
Maven is a build tool that manages dependencies. Given a project (with a Maven-friendly structure), you create pom.xml in your project directory and...
You seem to have a lot of the building blocks in place, but your comment here ...
/* Give token to "parser" */
parse(token) ;
... suggests that you are thinking of the lexer driving...
The /etc/crontab file is the system crontab. It won't be empty because, on Ubuntu at least, it fires off other cron jobs from /etc/cron.daily/ and so on. These do all sorts of things: checking for...
There is the Screenshot application, which you can find by searching in the Dash for 'Screenshot'.
You can get a quick whole-screen screenshot by pressing the 'Print Screen' key on your keyboard....
OpenJDK has been a bit flaky in the past but it's much better these days. I've used it successfully on some quite complex projects; things like EJB and Spring/Hibernate.
I'd agree with the poster...
It should just be a matter of:
sudo apt-get install mysql-server
Follow the prompts to enter a root password during installation.
Then connect:
How did you install mysql?
What are you running that gives you 'Access Denied'?
I've had a couple of Canon LIDE scanners and they've been fine with Ubuntu. My current one is a few years old now but is a CanoScan N124OU. No fuss, just works.
The scanner driver is SANE, so a...
It does not check the second condition if the first is false.
See http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf, section 6.5.13.
Or, perhaps you meant VNC?
https://help.ubuntu.com/community/VNC
You need to remove that line with 'fi' on it. You don't have an 'if' statement that needs a 'fi' to terminate it.
To print out the PID, you need
echo $PID2
and the same '$' prefix in the...
+1 for pkill
Doesn't the grep match itself in the example above?
$ ps ax | grep thisisme
2824 pts/0 S+ 0:00 grep thisisme
I think you'd have to do something like:
It's probably worth rebooting to make sure it's gone. Then check in /var/log.
You could probably remove that uvcdynctrl package then. Check the dependencies carefully before pressing 'Y'.
sudo apt-get remove uvcdynctrl
Did you manage to free up the disk space?
With regard to the webcam, you are probably better starting another thread with webcam in the title so that people who know about webcams will read it.
Based on that bug report:
sudo killall -9 uvcdynctrl
sudo rm /var/log/uvcdynctrl-udev.log
But it might come back.
I guess the longer term solution is to figure out whether you need this...