apt.1 revision 0
t
Copyright 2004-2006 Sun Microsystems, Inc. All Rights Reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 only, as
published by the Free Software Foundation.
This code is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
version 2 for more details (a copy is included in the LICENSE file that
accompanied this code).
You should have received a copy of the GNU General Public License version
2 along with this work; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
CA 95054 USA or visit www.sun.com if you need additional information or
have any questions.
Copyright 2004-2006 Sun Microsystems, Inc. All Rights Reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 only, as
published by the Free Software Foundation.
This code is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
version 2 for more details (a copy is included in the LICENSE file that
accompanied this code).
You should have received a copy of the GNU General Public License version
2 along with this work; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
CA 95054 USA or visit www.sun.com if you need additional information or
have any questions.
apt 1 "2006 ǯ 9 �� 4 ��" "Java SE 6" "�桼�������ޥ��"
"̾��"
apt - ������ġ���
"����"
apt [-classpath " classpath"] [-sourcepath " sourcepath"] [-d " directory"] [-s " directory"] [-factorypath " path"] [-factory " class"] [-print] [-nocompile] [-Akey[=val] ...] [javac option] sourcefiles [@files] "�ѥ���"
���ץ�����Ǥ�դν��ǻ��ѤǤ��ޤ�������Υ��ץ�����Ŭ�Ѥ����
�ѥ����ˤĤ��Ƥϡ���ҤΡ֥��ץ����פȤ��Ƥ���������
sourcefiles ������ 0 �İʾ�Υ������ե����롣
@files �������ե�����ޤ��Ϥ���¾�Υ��ץ�����ꥹ�Ȥ��� 1 �İʾ�Υե����롣
"��ǽ����"
������ġ���
apt �ˤϡ��ץ?����������뤿��ΰ�Ϣ��
��������ե쥯����� API �ȥ���ե饹�ȥ饯���㥵�ݡ��Ȥ��ޤޤ�Ƥ��ޤ���
apt �Υ�ե쥯����� API �Ǥϡ��ץ?��¤�Υӥ塼����
�ӥ�ɻ��Υ������١������ɤ�����ѤȤ����Ѱդ���Ƥ��ޤ���
�����Υ�ե쥯����� API �ϡ���η����ɲø�ˡ�
Java(TM) �ץ?��ߥ���η������ƥ��
�狼��䤹����ǥ벽�Ǥ���褦���߷פ���ޤ�����
�Ϥ���ˡ�
apt �����ץ?�å���¹Ԥ��ޤ����������ץ?�å��Ǥϡ�
�����Υ����������ɤ���Ӥ���¾�Υե�������������ޤ���
���ˡ����ꥸ�ʥ�Υ������ե���������������������ե������ξ���ѥ��뤷��
��ȯ���ưפˤ��ޤ����ġ�������ä��뤿��Υ�ե쥯����� API ��
����¾�� API �ϡ�
com.sun.mirror �Υ��֥ѥå������Ǥ���
apt �ˤ��ġ���������ˡ�ȳ�ȯ���ˤĤ��Ƥξܺ٤ϡ� http://java.sun.com/javase/6/docs/technotes/guides/apt/GettingStarted.html �Ρ�Getting Started with apt�פȤ��Ƥ���������
3 ��: \f2apt\f2 �ε�ǽ��ɸ����������ե饹�ȥ饯������Ȥ߹��ޤ�ޤ���������ɸ��Υ���ե饹�ȥ饯����ϡ����Ǥ� \f2javac �ġ��� [ \f2Solaris �� Linux �ξ��:
http://java.sun.com/javase/6/docs/technotes/tools/solaris/javac.html] [ \f2Windows �ξ��: http://java.sun.com/javase/6/docs/technotes/tools/windows/javac.html] �ΰ����Ȥʤꡢ���٤Ƥ� Java ����ѥ���ǻ��ѤǤ���褦��ɸ�ಽ����Ƥ��ޤ������ο���������ե饹�ȥ饯����ϡ�Java �ץ�åȥե�����ΰ����Ȥʤä������ǥ�������� API �˰�¸���Ƥ��ޤ������������ץ?�å��γ�ȯ�ϡ����ο����� API �� \f2javac �ġ���˴�Ť��ƹԤ����Ȥ��ᤷ�ޤ���
"���ץ����"
apt ��ͭ�Υ��ץ����
-s " dir" �ץ?�å����������륽�����ե����뤬���֤����ǥ��쥯�ȥ�롼�Ȥ�
���ꤷ�ޤ����ե�����ϥѥå������Υ͡��ॹ�ڡ����˽��äơ�
���֥ǥ��쥯�ȥ�����֤���ޤ���
-nocompile �������ե�����饹�ե�����˥���ѥ��뤷�ޤ���
-print ���ꤷ�����Υƥ�����ɽ������Ϥ��ޤ���
������䥳��ѥ���ϼ¹Ԥ��ޤ���
-A[key[=val]] ���ץ?�å����Ϥ���륪�ץ����
apt �ϡ������Υ��ץ�����ľ�ܲ�ᤷ�ޤ������̤Υץ?�å�
�ˤ�äƻ��Ѳ�ǽ�ˤʤ�ޤ���
-factorypath " path" ���ץ?�å��ե����ȥ�����������ꤷ�ޤ���
���Υ��ץ�������Ѥ����硢�ե����ȥ�θ�����
���饹�ѥ��ϻ��Ѥ���ޤ���
-factory " classname" ���Ѥ������ץ?�å��ե����ȥ��̾����
�ǥե���Ȥθ��н���ϥХ��ѥ�����ޤ���
javac �ȶ�ͭ����륪�ץ����
-d " dir" �ץ?�å������
javac �������������饹�ե���������֤��������ꤷ�ޤ���
-cp " path " \fL�ޤ��� \fL-classpath " path" �桼�����饹�ե����뤪������ץ?�å��ե����ȥ���������
���ꤷ�ޤ���
-factorypath ����ꤷ����硢�ե����ȥ�θ����˥��饹�ѥ��ϻ��Ѥ���ޤ���
javac �Υ��ץ����ˤĤ��Ƥϡ� javac(1) �Υޥ˥奢��ڡ����Ȥ��Ƥ���������
��ջ���
\f2apt �ε�ǽ�ϡ�\f2javac ������褦�ˤʤä�ɸ����������ե饹�ȥ饯������Ȥ߹��ޤ�ޤ�����\f2apt �Ȥ��δ�Ϣ API �Υ��ݡ��Ȥϡ�JDK �ξ���Υ������Ǥ��ڤ����ǽ��������ޤ���
"��Ϣ����"
2 * javac: [ \f2Solaris �� Linux ��:
http://java.sun.com/javase/6/docs/technotes/tools/solaris/javac.html] [ \f2Windows ��: http://java.sun.com/javase/6/docs/technotes/tools/windows/javac.html]2 * java: [ \f2Solaris ��:
http://java.sun.com/javase/6/docs/technotes/tools/solaris/java.html] [ \f2Linux ��: http://java.sun.com/javase/6/docs/technotes/tools/linux/java.html] [ \f2Windows ��: http://java.sun.com/javase/6/docs/technotes/tools/windows/java.html]