Search:

Type: Posts; User: r-senior; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    16
    Views
    17

    Re: Ubuntu 16.04 Maven dependencies download

    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...
  2. Replies
    16
    Views
    17

    Re: Ubuntu 16.04 Maven dependencies download

    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...
  3. Replies
    16
    Views
    17

    Re: Ubuntu 16.04 Maven dependencies download

    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...
  4. Replies
    16
    Views
    17

    Re: Ubuntu 16.04 Maven dependencies download

    Doing the same thing with Gradle is slightly easier:

    Assuming you have gradle installed ...


    $ cd ~/Desktop
    $ mkdir downloadGradle


    Create 'build.gradle' with the following:
  5. Replies
    16
    Views
    17

    Re: Ubuntu 16.04 Maven dependencies download

    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 ...


    $...
  6. Re: I suspect GDB isn't working because of no debug info for it

    What level of optimization are you using? What happens if you add -Og to the options?
  7. Replies
    16
    Views
    17

    Re: Ubuntu 16.04 Maven dependencies download

    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...
  8. Replies
    16
    Views
    17

    Re: Ubuntu 16.04 Maven dependencies download

    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...
  9. Replies
    16
    Views
    17

    Re: Ubuntu 16.04 Maven dependencies download

    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...
  10. Replies
    16
    Views
    17

    Re: Ubuntu 16.04 Maven dependencies download

    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...
  11. Re: Simple lexer - where to put the "loops"

    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...
  12. Replies
    4
    Views
    406

    Re: help needed to set up a cronjob

    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...
  13. Replies
    7
    Views
    559

    [ubuntu] Re: Looking for a screen program

    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....
  14. Replies
    5
    Views
    4,789

    Re: OpenJDK or official oracle java?

    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...
  15. Replies
    13
    Views
    1,515

    Re: No access in mysql

    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:
  16. Replies
    13
    Views
    1,515

    Re: No access in mysql

    How did you install mysql?

    What are you running that gives you 'Access Denied'?
  17. Replies
    10
    Views
    597

    [ubuntu] Re: Recommend scanner for 12.04

    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...
  18. Replies
    3
    Views
    346

    [SOLVED] Re: [C99] Question about a conjuction

    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.
  19. Replies
    10
    Views
    785

    Re: How to Access by Screen

    Or, perhaps you meant VNC?

    https://help.ubuntu.com/community/VNC
  20. Replies
    6
    Views
    2,121

    [SOLVED] Re: Script stop process.

    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...
  21. Replies
    6
    Views
    2,121

    [SOLVED] Re: Script stop process.

    +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:
  22. Replies
    31
    Views
    1,528

    Re: where did all my space go?

    It's probably worth rebooting to make sure it's gone. Then check in /var/log.
  23. Replies
    31
    Views
    1,528

    Re: where did all my space go?

    You could probably remove that uvcdynctrl package then. Check the dependencies carefully before pressing 'Y'.


    sudo apt-get remove uvcdynctrl
  24. Replies
    31
    Views
    1,528

    Re: where did all my space go?

    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.
  25. Replies
    31
    Views
    1,528

    Re: where did all my space go?

    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...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4