Editing Source Files using Eclipse and FTP: Difference between revisions

From Try-AS/400
Jump to navigation Jump to search
(+Cat)
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:


== Setting up the connection ==
== Setting up the connection ==
* Add a new connection:<br/>[[Image:FTPEclipse01.png]]
* Add a new connection:<br/>[[Image:FTPEclipse01.png]]  
* Choose <tt>FTP</tt>:<br/>[[Image:FTPEclipse02.png]]<br/>Input your hostname, username and so on.
* Choose <tt>FTP</tt>:<br/>[[Image:FTPEclipse02.png]]<br/>Input your hostname, username and so on.
* Open Preferences and set transfer mode for files to ASCII:<br/>[[Image:FTPEclipse03.png]]
* Open Preferences and set transfer mode for files to ASCII:<br/>[[Image:FTPEclipse03.png]]
Line 10: Line 10:
* Create a new filter:<br/>[[Image:FTPEclipse04.png]]
* Create a new filter:<br/>[[Image:FTPEclipse04.png]]
* Input folder with this format: <code>/QSYS.LIB/YOURLIBRARY.LIB/YOURPHYSICALSOURCEFILE.FILE</code>, for example: <code>/QSYS.LIB/SNDBX.LIB/SNDBX.FILE</code>
* Input folder with this format: <code>/QSYS.LIB/YOURLIBRARY.LIB/YOURPHYSICALSOURCEFILE.FILE</code>, for example: <code>/QSYS.LIB/SNDBX.LIB/SNDBX.FILE</code>
* You can now access the members of this file:<br/>[[Image:FTPEclipse05.png]]
* You can now access the members of this file:<br/>[[Image:FTPEclipse05.png]]<br/>[[Image:FTPEclipse06.png]] <br/>(see also: [[Hello World (using C)]])


== Footnotes ==
<references/>


 
[[Category: Programming]]
 
[[Category: Software Configuration Guide‏‎]]
 
 
[[Category: Basic Knowledge]]

Latest revision as of 21:02, 23 February 2020

You can access all your files using FTP. This article will show you how to Edit-In-Place with Eclipse Neon.3 and Remote Systems Extension.

Setting up the connection

  • Add a new connection:
    FTPEclipse01.png
  • Choose FTP:
    FTPEclipse02.png
    Input your hostname, username and so on.
  • Open Preferences and set transfer mode for files to ASCII:
    FTPEclipse03.png

Setting up a filter to access files

You can access your files by browsing the filesystem's root, but this is much more handy:

  • Create a new filter:
    FTPEclipse04.png
  • Input folder with this format: /QSYS.LIB/YOURLIBRARY.LIB/YOURPHYSICALSOURCEFILE.FILE, for example: /QSYS.LIB/SNDBX.LIB/SNDBX.FILE
  • You can now access the members of this file:
    FTPEclipse05.png
    FTPEclipse06.png
    (see also: Hello World (using C))

Footnotes