SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 283 | Next

Alexander Kolesnikov

"Tapestry 5: Building Web Applications"

One possible approach is to take the contents of some automatically
generated manifest and just add the desired entry to it:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.5
Created-By: 1.6.0_02-b06 (Sun Microsystems Inc.)
Tapestry-Module-Classes: com.packtpub.celebrities.LibraryModule
Chapter 8
[ 237 ]
This is important: Make sure that the last line of your manifest ends with
a new line or a carriage return. In other words, place the cursor at the end
of the last line and press Enter??”otherwise the notorious Java bug will
prevent the manifest from being parsed properly.
If you are using Eclipse, right-click on the MyLib project in the Project Explorer, and
create a new file named MANIFEST.MF. Make sure it has the contents shown above.
Again right-click on the MyLib project in the Project Explorer and select Export... In
the dialogue that appears select JAR file:
Creating Custom Components
[ 238 ]
Click on the Next button, and in the next dialogue make sure that the new JAR file
will contain only those files that we really need (do not select MANIFEST.MF here).
Also, specify where it should be placed:
Chapter 8
[ 239 ]
Click on Next again and make sure the next dialogue looks like this:
Creating Custom Components
[ 240 ]
Click on the Next button again, and in the next dialogue, select the Use existing
manifest from workspace radio button, then select the recently created
MANIFEST.


Pages:
271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295
druga wojna światowa Free English grammar and study guid hotel jelenia góra Russian bride counter strike 1.6