Re: Profiler pack for NetBeans - Docker based
Cool! I will modify this image a little bit in near future. At the moment, code for profiling is fixed. I will update it such way, that any code with simple ant build script will be possible to be embedded inside. This way, it will be possible to run numerous codes using the same image. Cheers Michal > Dnia 22 października 2018 o 21:34 Glenn Holmer > napisał(a): > > > On 10/21/2018 07:56 AM, mic...@owsiak.org wrote: > > I have decided to play a little bit with Docker - for this particular > > purpose. And here is the outcome: > > > > http://www.owsiak.org/netbeans-profiler-tester-pack-docker-based/ > > > > Long story short. You need Docker, and profiler server pack generated > > by NetBeans. That's it. That's all you need to create remote, Ubuntu > > based, machine with code running. After starting Docker container, it > > will wait on port 5140 for connection. > > Yes, I got it to work. Definitely a good way to run this sort of test. > > -- > Glenn Holmer (Linux registered user #16682) > "After the vintage season came the aftermath -- and Cenbe." > > - > To unsubscribe, e-mail: netcat-unsubscr...@netbeans.apache.org > For additional commands, e-mail: netcat-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > - To unsubscribe, e-mail: netcat-unsubscr...@netbeans.apache.org For additional commands, e-mail: netcat-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Profiler pack for NetBeans - Docker based
On 10/21/2018 07:56 AM, mic...@owsiak.org wrote: > I have decided to play a little bit with Docker - for this particular > purpose. And here is the outcome: > > http://www.owsiak.org/netbeans-profiler-tester-pack-docker-based/ > > Long story short. You need Docker, and profiler server pack generated > by NetBeans. That's it. That's all you need to create remote, Ubuntu > based, machine with code running. After starting Docker container, it > will wait on port 5140 for connection. Yes, I got it to work. Definitely a good way to run this sort of test. -- Glenn Holmer (Linux registered user #16682) "After the vintage season came the aftermath -- and Cenbe." - To unsubscribe, e-mail: netcat-unsubscr...@netbeans.apache.org For additional commands, e-mail: netcat-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Profiler pack for NetBeans - Docker based
Sure! It's possible to configure FTP as we like and make sure all the features we need are there. The only issue with macOS based Docker is network. There is no other way than via port forwarding :( https://docs.docker.com/docker-for-mac/networking/#i-cannot-ping-my-containers e.g.: you can't route traffic to container :( It works with ports being forwarded. In my example, I am connecting via localhost:5140 that is mapped to container's port 5140. This is the only way on macOS :( > Maybe this is the solution > for other tests requiring a second machine (e.g. Rodrigo asking about an > FTP server for PHP tests). - To unsubscribe, e-mail: netcat-unsubscr...@netbeans.apache.org For additional commands, e-mail: netcat-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Profiler pack for NetBeans - Docker based
On 10/21/2018 07:56 AM, mic...@owsiak.org wrote: > While struggling with VM for remote profiler, I have decided I need > reproducible, easy to run, quick solution. > > VM is OK. But for each new person joining profiler tests (remote) you > have like few hours spent to setup everything correctly: > > - download image, - create VM, - install required packages, - > transfer jar, - transfer server pack, - configure JDK. > > Anyway, it takes time. I am lucky enough to have another machine right next to this one. Both System76, of course :) > I have decided to play a little bit with Docker - for this particular > purpose. And here is the outcome: > > http://www.owsiak.org/netbeans-profiler-tester-pack-docker-based/ > > Long story short. You need Docker, and profiler server pack generated > by NetBeans. That's it. That's all you need to create remote, Ubuntu > based, machine with code running. After starting Docker container, it > will wait on port 5140 for connection. That's really cool, I'll try it this morning! Maybe this is the solution for other tests requiring a second machine (e.g. Rodrigo asking about an FTP server for PHP tests). -- Glenn Holmer (Linux registered user #16682) "After the vintage season came the aftermath -- and Cenbe." - To unsubscribe, e-mail: netcat-unsubscr...@netbeans.apache.org For additional commands, e-mail: netcat-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists