Hi all

I tried to use that command in ivy but nothing happen in console view. So does anyone know reason why it does not work and can we make it work?


asked 23.05.2017 at 05:01

trungdv's gravatar image

accept rate: 52%

you can use this:

FileOutputStream fos = null;
    try {
        fos = new FileOutputStream("D:/logCloner.txt");
    } catch(FileNotFoundException e) {
        // TODO Auto-generated catch block

     // Create new print stream for file.
     PrintStream ps = new PrintStream(fos);

     // Set file print stream.
     System.out.println("Print in the file !!");

I tested in my Ivy desinger - worked alt text


answered 20.03.2018 at 09:04

khanh11166's gravatar image

accept rate: 0%

edited 20.03.2018 at 09:04

Thanks @khanh11166 It's a alternative solution, but i will be more happy if i can log directly in console like normal java project. It's more convenient

(23.03.2018 at 00:50) trungdv trungdv's gravatar image

The ivy way is to use ivy.log API in scriptlets or Ivy.log().info("hey there") in java code. Logs written over this API will are prominently listed in the Runtime Log View and trough filtering the exlporation of them is much more convenient than parsing trough a raw console log...


answered 29.03.2018 at 02:49

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
accept rate: 70%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 23.05.2017 at 05:01

Seen: 2,841 times

Last updated: 29.03.2018 at 02:49